Skip to content

Commit b51532f

Browse files
committed
github actions: increase timeout to 60s
It's due to macOS GitHub Actions workers that are very underpowered.
1 parent d939c44 commit b51532f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,16 +136,16 @@ jobs:
136136
137137
# Run tests last since it's potentially the slowest step.
138138
- name: 'Check: go test -cover'
139-
run: go test -timeout=40s -covermode=count -coverprofile coverage.txt ./...
139+
run: go test -timeout=60s -covermode=count -coverprofile coverage.txt ./...
140140
# Don't send code coverage if anything failed to reduce spam.
141141
- uses: codecov/codecov-action@v2
142142
- name: 'Cleanup'
143143
run: rm coverage.txt
144144
# Don't run go test -race if anything failed, to speed up the results.
145145
- name: 'Check: go test -race'
146-
run: go test -timeout=40s -race ./...
146+
run: go test -timeout=60s -race ./...
147147
- name: 'Check: go test -bench .'
148-
run: go test -timeout=40s -bench . -benchtime=100ms -cpu=1 ./...
148+
run: go test -timeout=60s -bench . -benchtime=100ms -cpu=1 ./...
149149

150150
- name: "Check: tree is clean"
151151
run: |

0 commit comments

Comments
 (0)