Skip to content

add new workflow to run tests in GH #1

add new workflow to run tests in GH

add new workflow to run tests in GH #1

Workflow file for this run

name: Tests
on:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
test:
runs-on: macos-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Bazel
uses: bazel-contrib/setup-bazel@0.8.5
with:
bazelisk-cache: true
disk-cache: ${{ github.workflow }}
repository-cache: true
- name: Run all tests
run: bazel test //...
- name: Upload test results
if: always()
uses: actions/upload-artifact@v4
with:
name: test-results
path: bazel-testlogs/