Skip to content

chore(deps): update dependency bazel to v7 #272

chore(deps): update dependency bazel to v7

chore(deps): update dependency bazel to v7 #272

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
bzlmodEnabled: [true, false]
folder: [".", "examples"]
exclude:
# No point keeping the root workspace compatible with --noenable_bzlmod
- folder: "."
bzlmodEnabled: false
defaults:
run:
working-directory: ${{ matrix.folder }}
steps:
# Checks-out the repository under $GITHUB_WORKSPACE, so the job can access it
- uses: actions/checkout@v4
- uses: p0deje/setup-bazel@0.9.0
with:
bazelrc: common --announce_rc --color=yes --enable_bzlmod=${{ matrix.bzlmodEnabled }}
- name: Run tests
run: bazel test //...
integration-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run integration tests
run: ./test.sh