Skip to content

Commit a3fa951

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

File tree

5 files changed

+25
-140
lines changed

5 files changed

+25
-140
lines changed

.aspect/workflows/config.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1+
# Test the root workspace using "dev dependencies" on Linux only, and with the version in .bazelversion.
2+
# Look in /.github/workflows/ci.yaml for test matrix on other OS and Bazel version
13
# See https://docs.aspect.build/workflows/configuration
24
tasks:
35
- test:
6+
- format:
7+
- buildozer:
48
notifications:
59
github: {}

.bazelci/presubmit.yml

Lines changed: 18 additions & 105 deletions
Original file line numberDiff line numberDiff line change
@@ -1,105 +1,18 @@
1-
---
2-
bazel: 7.1.1
3-
# Note, this will tell the user to do the wrong thing (manually run buildifer)
4-
# See https://github.com/bazelbuild/continuous-integration/issues/1161
5-
buildifier:
6-
version: 6.4.0
7-
# Keep this in sync with the list in .pre-commit-config.yaml
8-
# https://github.com/bazelbuild/buildtools/issues/479 should fix this by giving us a config file
9-
tasks:
10-
ubuntu1804:
11-
name: ubuntu1804
12-
platform: ubuntu1804
13-
build_targets:
14-
- "//..."
15-
test_flags:
16-
- "--test_tag_filters=-skip-on-bazelci-ubuntu"
17-
test_targets:
18-
- "//..."
19-
ubuntu1804-headers:
20-
name: ubuntu1804-headers
21-
platform: ubuntu1804
22-
working_directory: "e2e/headers"
23-
build_targets:
24-
- "//..."
25-
test_flags:
26-
- "--test_tag_filters=-skip-on-bazelci-ubuntu"
27-
test_targets:
28-
- "//..."
29-
ubuntu1804-smoke:
30-
name: ubuntu1804-smoke
31-
platform: ubuntu1804
32-
working_directory: "e2e/smoke"
33-
build_targets:
34-
- "//..."
35-
test_flags:
36-
- "--test_tag_filters=-skip-on-bazelci-ubuntu"
37-
test_targets:
38-
- "//..."
39-
ubuntu1804-nodejs_host:
40-
name: ubuntu1804-nodejs_host
41-
platform: ubuntu1804
42-
working_directory: "e2e/nodejs_host"
43-
build_targets:
44-
- "//..."
45-
test_flags:
46-
- "--test_tag_filters=-skip-on-bazelci-ubuntu"
47-
test_targets:
48-
- "//..."
49-
macos:
50-
name: macos
51-
platform: macos
52-
build_targets:
53-
- "//..."
54-
test_flags:
55-
- "--test_tag_filters=-skip-on-bazelci-macos"
56-
test_targets:
57-
- "//..."
58-
macos-headers:
59-
name: macos-headers
60-
platform: macos
61-
working_directory: "e2e/headers"
62-
build_targets:
63-
- "//..."
64-
test_flags:
65-
- "--test_tag_filters=-skip-on-bazelci-macos"
66-
test_targets:
67-
- "//..."
68-
macos-smoke:
69-
name: macos-smoke
70-
platform: macos
71-
working_directory: "e2e/smoke"
72-
build_targets:
73-
- "//..."
74-
test_flags:
75-
- "--test_tag_filters=-skip-on-bazelci-macos"
76-
test_targets:
77-
- "//..."
78-
windows-smoke:
79-
name: windows-smoke
80-
platform: windows
81-
working_directory: "e2e/smoke"
82-
build_targets:
83-
- "//..."
84-
test_flags:
85-
- "--test_tag_filters=-skip-on-bazelci-windows"
86-
test_targets:
87-
- "//..."
88-
windows-nodejs_host:
89-
name: windows-nodejs_host
90-
platform: windows
91-
working_directory: "e2e/nodejs_host"
92-
build_targets:
93-
- "//..."
94-
test_flags:
95-
- "--test_tag_filters=-skip-on-bazelci-windows"
96-
test_targets:
97-
- "//..."
98-
rbe_ubuntu1604-smoke:
99-
name: rbe_ubuntu1604-smoke
100-
platform: rbe_ubuntu1604
101-
working_directory: "e2e/smoke"
102-
build_targets:
103-
- "//..."
104-
test_targets:
105-
- "//..."
1+
bcr_test_module:
2+
module_path: e2e/smoke
3+
matrix:
4+
platform:
5+
- ubuntu2204
6+
- macos
7+
- windows
8+
bazel:
9+
- 7.x
10+
- 8.x
11+
- 9.*
12+
tasks:
13+
run_test_module:
14+
name: Run test module
15+
platform: ${{ platform }}
16+
bazel: ${{ bazel }}
17+
test_targets:
18+
- //...

.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: 0 additions & 32 deletions
This file was deleted.

e2e/smoke/MODULE.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ local_path_override(
44
path = "../..",
55
)
66

7-
bazel_dep(name = "bazel_lib", version = "3.0.0-beta.1", dev_dependency = True)
8-
bazel_dep(name = "bazel_skylib", version = "1.7.1", dev_dependency = True)
7+
bazel_dep(name = "bazel_lib", version = "3.0.0", dev_dependency = True)
8+
bazel_dep(name = "bazel_skylib", version = "1.8.1", dev_dependency = True)
99
bazel_dep(name = "platforms", version = "0.0.10", dev_dependency = True)
1010

1111
node = use_extension("@rules_nodejs//nodejs:extensions.bzl", "node", dev_dependency = True)

0 commit comments

Comments
 (0)