ci:增加测试时间

This commit is contained in:
rulego-team
2025-11-15 00:37:08 +08:00
parent 1744502678
commit b2c638671a
+2 -2
View File
@@ -42,11 +42,11 @@ jobs:
- name: Run tests
if: matrix.go-version != '1.21'
run: go test -v -race -timeout 300s ./...
run: go test -v -race -timeout 600s ./...
- name: Run tests with coverage
if: matrix.go-version == '1.21'
run: go test -v -race -coverprofile="codecov.report" -covermode=atomic -timeout 300s ./...
run: go test -v -race -coverprofile="codecov.report" -covermode=atomic -timeout 600s ./...
- name: Upload coverage reports to Codecov
if: matrix.go-version == '1.21'