From b51532f1935ad23f4f94952c6874f1df9cda9ea3 Mon Sep 17 00:00:00 2001 From: Marc-Antoine Ruel Date: Sat, 16 Oct 2021 22:01:23 -0400 Subject: [PATCH] github actions: increase timeout to 60s It's due to macOS GitHub Actions workers that are very underpowered. --- .github/workflows/test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2abb177..07671ea 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -136,16 +136,16 @@ jobs: # Run tests last since it's potentially the slowest step. - name: 'Check: go test -cover' - run: go test -timeout=40s -covermode=count -coverprofile coverage.txt ./... + run: go test -timeout=60s -covermode=count -coverprofile coverage.txt ./... # Don't send code coverage if anything failed to reduce spam. - uses: codecov/codecov-action@v2 - name: 'Cleanup' run: rm coverage.txt # Don't run go test -race if anything failed, to speed up the results. - name: 'Check: go test -race' - run: go test -timeout=40s -race ./... + run: go test -timeout=60s -race ./... - name: 'Check: go test -bench .' - run: go test -timeout=40s -bench . -benchtime=100ms -cpu=1 ./... + run: go test -timeout=60s -bench . -benchtime=100ms -cpu=1 ./... - name: "Check: tree is clean" run: |