chore(deps): update dependency rules_python to v0.40.0 #275
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/[email protected] | |
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 |