@@ -64,13 +64,13 @@ jobs:
6464 - name : Build testcli binary
6565 working-directory : internal/testcli/
6666 run : go build
67- - name : Install gotestsum
68- run : go install gotest.tools/gotestsum@latest
67+ - name : Compile library tests
68+ run : go test -race -v -x -c
6969 - name : Run library tests
70- run : gotestsum -- -race ./...
70+ run : ./frankenphp.test -test.v
7171 - name : Run Caddy module tests
7272 working-directory : caddy/
73- run : gotestsum -- -race ./...
73+ run : go test -race -v ./...
7474 - name : Run Fuzzing Tests
7575 working-directory : caddy/
7676 run : go test -fuzz FuzzRequest -fuzztime 20s
@@ -136,11 +136,9 @@ jobs:
136136 run : |
137137 echo "CGO_CFLAGS=$(php-config --includes)" >> "${GITHUB_ENV}"
138138 echo "CGO_LDFLAGS=$(php-config --ldflags) $(php-config --libs)" >> "${GITHUB_ENV}"
139- - name : Install gotestsum
140- run : go install gotest.tools/gotestsum@latest
141139 - name : Run integration tests
142140 working-directory : internal/extgen/
143- run : gotestsum -- -tags integration -timeout 30m
141+ run : go test -tags integration -v -timeout 30m
144142 tests-mac :
145143 name : Tests (macOS, PHP 8.5)
146144 runs-on : macos-latest
@@ -166,9 +164,7 @@ jobs:
166164 env :
167165 phpts : ts
168166 debug : true
169- - name : Install gotestsum
170- run : go install gotest.tools/gotestsum@latest
171- - name : Set CGO flags
167+ - name : Set Set CGO flags
172168 run : |
173169 {
174170 echo "CGO_CFLAGS=-I/opt/homebrew/include/ $(php-config --includes)"
@@ -177,7 +173,7 @@ jobs:
177173 - name : Build
178174 run : go build -tags nowatcher
179175 - name : Run library tests
180- run : gotestsum -- -tags nowatcher -race ./...
176+ run : go test -tags nowatcher -race -v ./...
181177 - name : Run Caddy module tests
182178 working-directory : caddy/
183- run : gotestsum -- -race ./...
179+ run : go test -race -v ./...
0 commit comments