Skip to content

Commit 194e105

Browse files
committed
ci(e2e): compile-check tests with 'go test -c' not 'go build'
./e2e is a test-only package, so 'go build ./e2e' fails with 'no non-test Go files' (exit 1 under bash -e). 'go test -c -o /dev/null' compiles the test binary without running it — the correct build check.
1 parent a753776 commit 194e105

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/e2e.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
6767
- name: Build e2e tests
6868
run: |
69-
go build -v ./e2e
69+
go test -c -o /dev/null ./e2e
7070
env:
7171
CGO_ENABLED: 1
7272

0 commit comments

Comments
 (0)