Skip to content

Commit fb7cb66

Browse files
committed
ci: enable bazel8 tests, removal bazel6 bcr tests
1 parent e66cabd commit fb7cb66

File tree

2 files changed

+14
-11
lines changed

2 files changed

+14
-11
lines changed

.bcr/presubmit.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
bcr_test_module:
22
module_path: 'e2e/smoke'
33
matrix:
4-
bazel: ['7.x', '6.x']
4+
# TODO: e2e/smoke broken with bazel6
5+
bazel: ['8.x', '7.x']
56
platform: ['debian10', 'macos', 'ubuntu2004', 'windows']
67
tasks:
78
run_tests:

.github/workflows/ci.yaml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -94,37 +94,39 @@ jobs:
9494
- bazel-version:
9595
major: 6
9696
bzlmod: 0
97-
# Don't run tests with Bazel 8 by default
97+
# Don't test non-bzlmod with Bazel 8 where only modern bzlmod should be used
9898
- bazel-version:
9999
major: 8
100+
bzlmod: 0
100101
# Don't test root workspace with non-bzlmod
101102
- bzlmod: 0
102103
folder: .
103-
# e2e/smoke broken with bazel6
104+
# TODO: e2e/smoke broken with bazel6
104105
- bazel-version:
105106
major: 6
106107
folder: e2e/smoke
107-
bzlmod: 1
108+
# TODO: broken on bazel 8
109+
- bazel-version:
110+
major: 8
111+
folder: e2e/external_dep
112+
# TODO: broken on bazel 8
113+
- bazel-version:
114+
major: 8
115+
folder: e2e/external_dep/app
108116
# Disable some broken tests on Windows
109117
- os: windows
110118
folder: .
111119
- os: windows
112120
folder: e2e/worker
113121
include:
122+
# Additional docs tests
114123
- bazel-version:
115124
major: 7
116125
version: 7.3.2
117126
bzlmod: 1
118127
folder: docs
119128
os: ubuntu
120129

121-
# Include only unit tests with bazel8
122-
- bazel-version:
123-
major: 8
124-
bzlmod: 1
125-
folder: .
126-
os: ubuntu
127-
128130
# Steps represent a sequence of tasks that will be executed as part of the job
129131
steps:
130132
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it

0 commit comments

Comments
 (0)