Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

Commit

Permalink
increase number of retries of golang tests due to flaky github networ…
Browse files Browse the repository at this point in the history
…king
  • Loading branch information
laidbackware committed Dec 9, 2021
1 parent 572b147 commit 735491a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
uses: actions/checkout@v2

- name: Run Golang Tests
run: go test -v ./... | go test -v ./...
run: (go test -v ./...) || (go test -v ./...) || (go test -v ./...) || (go test -v ./...)

- name: Setup BATS
if: runner.os != 'windows'
Expand All @@ -41,6 +41,6 @@ jobs:
run: |
export PATH=${PATH}:/home/runner/bin
# Retry hack to attempt test 3 times
bats test/bats || bats test/bats || bats test/bats
(bats test/bats) || (bats test/bats) || (bats test/bats) || (bats test/bats)

0 comments on commit 735491a

Please sign in to comment.