Skip to content

Commit

Permalink
Try retrying the tox command after failure
Browse files Browse the repository at this point in the history
  • Loading branch information
amstilp committed Oct 24, 2023
1 parent 8818c76 commit 88df443
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,13 @@ jobs:
sleep 10

- name: Test with tox
run: tox
uses: nick-fields/retry@v2
id: retry-sqlite
with:
timeout_minutes: 10
max_attempts: 3
retry_on: error
command: tox
env:
DBBACKEND: sqlite3
DBNAME: ":memory:"
Expand Down Expand Up @@ -111,9 +117,14 @@ jobs:
run:
sleep 10

- name: Test with tox - not 10.3
if: ${{ matrix.mariadb-version != '10.3' }}
run: tox
- name: Test with tox
uses: nick-fields/retry@v2
id: retry-sqlite
with:
timeout_minutes: 10
max_attempts: 3
retry_on: error
command: tox
env:
DBBACKEND: mysql
DBNAME: test
Expand Down

0 comments on commit 88df443

Please sign in to comment.