Skip to content

Add Github Actions for Format + Testing #4

Add Github Actions for Format + Testing

Add Github Actions for Format + Testing #4

# This workflow will run tests.
name: Tests
on:
push:
pull_request:
jobs:
run_tests:
name: Run tests
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checking out repository
uses: actions/checkout@v4
- name: Install dependencies
run : |
sudo apt-get update && sudo apt-get install -yq clang clang-format
- name: Build everything
run: |
bazel build //...
- name: Test C++
run: |
bazel test //...