mirror of
https://github.com/dpup/meshstream.git
synced 2026-04-30 18:42:22 +02:00
Another try at fixing proto in CI
This commit is contained in:
6
.github/workflows/cicd.yml
vendored
6
.github/workflows/cicd.yml
vendored
@@ -28,8 +28,10 @@ jobs:
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y protobuf-compiler
|
||||
|
||||
- name: Install Go protobuf tools
|
||||
run: make tools
|
||||
- name: Install protoc-gen-go
|
||||
run: |
|
||||
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
|
||||
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
|
||||
|
||||
- name: Generate Protocol Buffers
|
||||
run: make gen-proto
|
||||
|
||||
2
Makefile
2
Makefile
@@ -47,7 +47,7 @@ baymesh: build
|
||||
@./dist/meshstream --verbose --mqtt-topic-prefix "msh/US/bayarea" 2>&1 | go tool github.com/dpup/logista
|
||||
|
||||
# Generate Go code from Protocol Buffers
|
||||
gen-proto: tools
|
||||
gen-proto:
|
||||
@mkdir -p $(ROOT_DIR)/generated
|
||||
PATH="$(TOOLS_DIR):$$PATH" protoc \
|
||||
-Iproto/ \
|
||||
|
||||
@@ -19,6 +19,6 @@ describe('PacketList', () => {
|
||||
</Provider>
|
||||
);
|
||||
|
||||
expect(screen.getByText('No packets received yet')).toBeInTheDocument();
|
||||
expect(screen.getByText('Waiting for packets')).toBeInTheDocument();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user