Skip to content

Commit

Permalink
Update CI to increase timeout
Browse files Browse the repository at this point in the history
While at it, also reduce matrix of OS and Go versions
given the duration of tests.
  • Loading branch information
fxamacker committed Dec 2, 2023
1 parent 4b0ec40 commit b3e41ec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ jobs:

strategy:
matrix:
os: [macos-latest, ubuntu-latest]
go-version: [1.17, 1.18, 1.19]
os: [ubuntu-latest]
go-version: ['1.20', 1.21]

steps:
- name: Install Go
Expand All @@ -54,4 +54,4 @@ jobs:
- name: Run tests
run: |
go version
go test -timeout 60m -race -v ./...
go test -timeout 180m -race -v ./...
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
run: go build ./...

- name: Generate coverage report
run: go test -timeout 60m -race -coverprofile=coverage.txt -covermode=atomic
run: go test -timeout 180m -race -coverprofile=coverage.txt -covermode=atomic

- name: Upload coverage report to Codecov
uses: codecov/[email protected]
Expand Down

0 comments on commit b3e41ec

Please sign in to comment.