Skip to content

No public description #81

No public description

No public description #81

Workflow file for this run

name: Run all tests
on:
push:
branches:
- main
jobs:
run-go-tests:
runs-on: ubuntu-latest
steps:
- name: Check out sources
uses: actions/checkout@v2
- name: Install Protobuf Compiler
uses: arduino/setup-protoc@v1
with:
version: '3.x'
- name: Set up Go environment
uses: actions/setup-go@v2
with:
go-version: '^1.20'
- name: Set up Protobuf Compiler in Go environment
run: |
go install google.golang.org/protobuf/cmd/[email protected]
go install google.golang.org/grpc/cmd/[email protected]
- name: Generate protobuf language bindings
run: |
make all
- name: Build all sources
run: |
go build ./...
- name: Run all tests
run: |
go test ./...
run-bazel-tests:
runs-on: ubuntu-latest
steps:
- name: Check out sources
uses: actions/checkout@v2
- name: Set up Bazel environment
uses: bazelbuild/setup-bazelisk@v1
- name: Mount Bazel cache
uses: actions/cache@v2
with:
path: "~/.cache/bazel"
key: bazel
- name: Build all sources
run: |
bazel build //...
- name: Run all tests
run: |
bazel test --test_output=errors //...