Skip to content

Commit 1935dc9

Browse files
committed
-failfast for tests, so we can actually see what failed
1 parent 708b233 commit 1935dc9

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/tests.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,12 @@ jobs:
6565
working-directory: internal/testcli/
6666
run: go build
6767
- name: Compile library tests
68-
run: go test -race -v -x -c
68+
run: go test -race -failfast -v -x -c
6969
- name: Run library tests
70-
run: ./frankenphp.test -test.v
70+
run: ./frankenphp.test -test.v -test.failfast
7171
- name: Run Caddy module tests
7272
working-directory: caddy/
73-
run: go test -race -v ./...
73+
run: go test -race -failfast -v ./...
7474
- name: Run Fuzzing Tests
7575
working-directory: caddy/
7676
run: go test -fuzz FuzzRequest -fuzztime 20s
@@ -173,7 +173,7 @@ jobs:
173173
- name: Build
174174
run: go build -tags nowatcher
175175
- name: Run library tests
176-
run: go test -tags nowatcher -race -v ./...
176+
run: go test -tags nowatcher -race -failfast -v ./...
177177
- name: Run Caddy module tests
178178
working-directory: caddy/
179-
run: go test -race -v ./...
179+
run: go test -race -failfast -v ./...

0 commit comments

Comments
 (0)