File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -102,13 +102,13 @@ jobs:
102102 run : echo "$(pwd)/php/target/bin" >> "$GITHUB_PATH"
103103 - name : Install e-dant/watcher
104104 uses : ./.github/actions/watcher
105- - name : Set Set CGO flags
105+ - name : Install gotestsum
106+ run : go install gotest.tools/gotestsum@latest
107+ - name : Set CGO flags
106108 run : |
107109 {
108110 echo "CGO_CFLAGS=$CFLAGS -I${PWD}/watcher/target/include $(php-config --includes)"
109111 echo "CGO_LDFLAGS=$LDFLAGS $(php-config --ldflags) $(php-config --libs)"
110112 } >> "$GITHUB_ENV"
111- - name : Install gotestsum
112- run : go install gotest.tools/gotestsum@latest
113113 - name : Run tests
114114 run : gotestsum -- ${{ matrix.sanitizer == 'msan' && '-tags=nowatcher' || '' }} -${{ matrix.sanitizer }} ./...
Original file line number Diff line number Diff line change @@ -166,16 +166,16 @@ jobs:
166166 env :
167167 phpts : ts
168168 debug : true
169- - name : Set Set CGO flags
169+ - name : Install gotestsum
170+ run : go install gotest.tools/gotestsum@latest
171+ - name : Set CGO flags
170172 run : |
171173 {
172174 echo "CGO_CFLAGS=-I/opt/homebrew/include/ $(php-config --includes)"
173175 echo "CGO_LDFLAGS=-L/opt/homebrew/lib/ $(php-config --ldflags) $(php-config --libs)"
174176 } >> "${GITHUB_ENV}"
175177 - name : Build
176178 run : go build -tags nowatcher
177- - name : Install gotestsum
178- run : go install gotest.tools/gotestsum@latest
179179 - name : Run library tests
180180 run : gotestsum -- -tags nowatcher -race ./...
181181 - name : Run Caddy module tests
You can’t perform that action at this time.
0 commit comments