Skip to content

Commit

Permalink
Update branch to main and newer OS versions
Browse files Browse the repository at this point in the history
Update to Ubuntu 22.04 and macOS 12 to fix CI.

Add `VERBOSE=2` to the `bazel test` command to get more useful output when tests
fail.
  • Loading branch information
mbrukman committed May 24, 2024
1 parent 74847e7 commit 129f955
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ name: "Build & test"

on:
push:
branches: [ master ]
branches: [ main ]
pull_request:
branches: [ master ]
branches: [ main ]

jobs:
build:
strategy:
matrix:
os: [ 'ubuntu-20.04', 'macos-10.15' ]
os: [ 'ubuntu-22.04', 'macos-12' ]

name: Running on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
Expand All @@ -45,4 +45,4 @@ jobs:
run: bazel build --config=ci //...

- name: Run tests
run: bazel test --config=ci //...
run: bazel test --config=ci --test_env=VERBOSE=2 //...

0 comments on commit 129f955

Please sign in to comment.