Skip to content

Commit b2c6386

Browse files
committed
ci:增加测试时间
1 parent 1744502 commit b2c6386

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ jobs:
4242

4343
- name: Run tests
4444
if: matrix.go-version != '1.21'
45-
run: go test -v -race -timeout 300s ./...
45+
run: go test -v -race -timeout 600s ./...
4646

4747
- name: Run tests with coverage
4848
if: matrix.go-version == '1.21'
49-
run: go test -v -race -coverprofile="codecov.report" -covermode=atomic -timeout 300s ./...
49+
run: go test -v -race -coverprofile="codecov.report" -covermode=atomic -timeout 600s ./...
5050

5151
- name: Upload coverage reports to Codecov
5252
if: matrix.go-version == '1.21'

0 commit comments

Comments
 (0)