ci: bump cgo=1 race/coverage timeout 15m->30m

The cgo=1 'Test (race)' step timed out: the full suite under -race is
~6x slower than the 2m52s cgo=0 leg (~17m > 15m). Bump the race +
coverage timeouts to 30m (cgo=0 pure-Go leg stays at 15m).

Co-authored-by: Hanzo Dev <dev@hanzo.ai>
This commit is contained in:
Antje Worring
2026-06-07 10:14:54 -07:00
co-authored by Hanzo Dev
parent c1e2bc9dd5
commit e29235eed9
+3 -3
View File
@@ -58,9 +58,9 @@ jobs:
CGO_ENABLED: '1'
run: |
if pkg-config --exists lux-crypto lux-gpu 2>/dev/null; then
go test -v -count=1 -race -timeout=15m ./...
go test -v -count=1 -race -timeout=30m ./...
else
go test -v -count=1 -race -timeout=15m $(go list ./... | grep -v /cgo)
go test -v -count=1 -race -timeout=30m $(go list ./... | grep -v /cgo)
fi
- name: Test (no race, pure-Go)
if: matrix.cgo == '0'
@@ -81,7 +81,7 @@ jobs:
PKGS="$(go list ./... | grep -v /cgo)"
fi
go test -count=1 -coverprofile=coverage.txt -covermode=atomic \
-timeout=15m $PKGS
-timeout=30m $PKGS
go tool cover -func=coverage.txt | tail -1
# Floor set to the measured cgo=1 baseline (59%). The previous 60% value
# was aspirational and never actually exercised: the cgo=1 leg failed at