Skip to content

Commit acf751b

Browse files
committed
makefile: add missing tests
there was a miss-match between CI and the makefile helper
1 parent 35c1d93 commit acf751b

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

Makefile

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ e2e-workspace:
1919
@for version in 6.x 7.x; do \
2020
( \
2121
cd e2e/bazel-workspace && \
22-
echo "Testing $$version" > /dev/stderr && \
22+
echo "Testing $$version in workspace mode" > /dev/stderr && \
2323
USE_BAZEL_VERSION=$$version bazelisk --batch build //...\
2424
) \
2525
done
2626

2727
e2e-bzlmod:
28-
@for version in 6.x 7.x; do \
28+
@for version in 7.x 8.x; do \
2929
( \
3030
cd e2e/bazel-bzlmod && \
3131
echo "Testing $$version with bzlmod" > /dev/stderr && \
@@ -34,23 +34,27 @@ e2e-bzlmod:
3434
done
3535

3636
e2e-bazel-bzlmod-lock-file:
37-
@for version in 6.x 7.x; do \
37+
@for version in 7.x 8.x; do \
3838
( \
3939
cd e2e/bazel-bzlmod-lock-file && \
4040
echo "Testing $$version with bzlmod with lock file" > /dev/stderr && \
4141
USE_BAZEL_VERSION=$$version bazelisk --batch build //...\
4242
) \
4343
done
4444

45-
e2e-bzlmod-build-toolchain-7.x:
46-
( \
47-
cd e2e/bazel-bzlmod-toolchain-from-source && \
48-
USE_BAZEL_VERSION=7.x bazelisk --batch build //... --incompatible_enable_proto_toolchain_resolution \
49-
)
50-
51-
e2e-bzlmod-build-toolchain: e2e-bzlmod-build-toolchain-7.x
45+
e2e-bzlmod-build-toolchain:
46+
@for version in 7.x 8.x; do \
47+
( \
48+
cd e2e/bazel-bzlmod-toolchain-from-source && \
49+
echo "Testing $$version with bzlmod build toolchain" > /dev/stderr && \
50+
USE_BAZEL_VERSION=$$version bazelisk --batch build //... --incompatible_enable_proto_toolchain_resolution \
51+
) \
52+
done
5253

53-
e2e: e2e-workspace e2e-bzlmod e2e-bzlmod-build-toolchain
54+
e2e: e2e-workspace \
55+
e2e-bzlmod \
56+
e2e-bzlmod-build-toolchain \
57+
e2e-bazel-bzlmod-lock-file
5458

5559
fmt: gofmt buildifier
5660

0 commit comments

Comments
 (0)