Skip to content

Commit 123da37

Browse files
committed
chore: test on bazel 9
1 parent 8f2e852 commit 123da37

File tree

3 files changed

+29
-15
lines changed

3 files changed

+29
-15
lines changed

.aspect/workflows/config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# See https://docs.aspect.build/workflows/configuration
22
tasks:
33
- test:
4+
- format:
5+
- buildozer:
46
notifications:
57
github: {}

.bcr/presubmit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
bcr_test_module:
22
module_path: "e2e/smoke"
33
matrix:
4-
bazel: ["7.x", "8.x", "rolling"]
4+
bazel: ["7.x", "8.x", "9.*"]
55
platform: ["debian10", "macos", "ubuntu2004", "windows"]
66
tasks:
77
run_tests:

.github/workflows/ci.yaml

Lines changed: 26 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,29 @@ concurrency:
1616
cancel-in-progress: ${{ github.ref_name != 'main' }}
1717

1818
jobs:
19-
test:
20-
uses: bazel-contrib/.github/.github/workflows/[email protected]
21-
with:
22-
folders: '[".", "e2e/headers", "e2e/smoke", "e2e/nodejs_host", "e2e/conflicting_toolchains"]'
23-
# stardoc generated docs fail on diff_test with Bazel 6.4.0 so don't test against it in root repository
24-
exclude: |
25-
[
26-
{"bazelversion": "7.3.1", "os": "ubuntu-latest", folder: "."},
27-
{"bazelversion": "6.4.0", "os": "macos-latest"},
28-
{"bazelversion": "6.4.0", "os": "windows-latest"},
29-
{"bazelversion": "6.4.0", folder: "."},
30-
{"bazelversion": "6.4.0", bzlmodEnabled: true},
31-
{folder: "e2e/conflicting_toolchains", bzlmodEnabled: false}
32-
]
19+
verify:
20+
runs-on: ubuntu-latest
21+
steps:
22+
- uses: actions/checkout@v5
23+
- uses: bazel-contrib/publish-to-bcr/.github/actions/bcr-presubmit-sync@bcr_ci
24+
with:
25+
github_workflow_path: .github/workflows/ci.yaml
26+
bcr:
27+
runs-on: ${{ matrix.platform }}
28+
strategy:
29+
matrix:
30+
platform:
31+
- macos-latest
32+
- ubuntu-22.04
33+
bazel:
34+
- 9.*
35+
- 8.x
36+
- 7.x
37+
module_path:
38+
- examples
39+
steps:
40+
- uses: actions/checkout@v5
41+
- run: bazel test //...
42+
working-directory: ${{ matrix.module_path }}
43+
env:
44+
USE_BAZEL_VERSION: ${{ matrix.bazel }}

0 commit comments

Comments
 (0)