File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 3030 - name : Run lints
3131 run : ./scripts/lint
3232 test :
33- timeout-minutes : 10
33+ timeout-minutes : 30
3434 name : test
3535 runs-on : ${{ github.repository == 'stainless-sdks/cloudflare-go' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
3636 if : github.event_name == 'push' || github.event.pull_request.head.repo.fork
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ function prism_is_running() {
1414}
1515
1616kill_server_on_port () {
17- pids=$( lsof -t -i tcp:" $1 " || echo " " )
17+ pids=$( lsof -t -i tcp:" $1 " -sTCP:LISTEN 2> /dev/null || echo " " )
1818 if [ " $pids " != " " ]; then
1919 kill " $pids "
2020 echo " Stopped $pids ."
5353fi
5454
5555echo " ==> Running tests"
56- go test ./... " $@ "
56+ go clean -cache -testcache -modcache
57+ go test -timeout 30m -p 4 ./... " $@ "
You can’t perform that action at this time.
0 commit comments