Skip to content

Commit

Permalink
chore: test on Bazel 8 rather than Bazel 6 (#421)
Browse files Browse the repository at this point in the history
---

### Changes are visible to end-users: no

### Test plan

- Covered by existing test cases
  • Loading branch information
alexeagle authored Oct 24, 2024
1 parent 5a211ac commit 7e7b74f
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,23 @@ concurrency:

jobs:
test:
uses: bazel-contrib/.github/.github/workflows/bazel.yaml@v6
uses: bazel-contrib/.github/.github/workflows/bazel.yaml@v7
with:
folders: '[".", "e2e/smoke", "e2e/repository-rule-deps", "e2e/system-interpreter", "examples/uv_pip_compile"]'
# TODO: Build Windows tools and add to toolchain
# TODO(alex): switch the root folder to bzlmod
# TODO: fix remaining folders on Bazel 8
exclude: |
[
{"os": "windows-latest"},
{"folder": ".", "bazelversion": "6.4.0"},
{"folder": ".", "bzlmodEnabled": true},
{"folder": "e2e/repository-rule-deps", "bzlmodEnabled": false},
{"folder": "e2e/system-interpreter", "bzlmodEnabled": false},
{"folder": "examples/uv_pip_compile", "bzlmodEnabled": false},
{"folder": "examples/uv_pip_compile", "bazelversion": "6.4.0"},
{"folder": ".", "bazelversion": "8.0.0rc1"},
{"folder": "e2e/smoke", "bazelversion": "8.0.0rc1"},
{"folder": "e2e/repository-rule-deps", "bazelversion": "8.0.0rc1"},
{"folder": "e2e/system-interpreter", "bazelversion": "8.0.0rc1"}
]
verify-bcr-patches:
Expand All @@ -41,10 +44,9 @@ jobs:
- uses: actions/checkout@v4
- run: patch --dry-run -p1 < .bcr/patches/*.patch

# TODO(alex): enable after next release. Matt will yell at you if you forget.
# test-release:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - working-directory: e2e/use_release
# run: ./minimal_download_test.sh
test-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- working-directory: e2e/use_release
run: ./minimal_download_test.sh

0 comments on commit 7e7b74f

Please sign in to comment.