Skip to content

Commit

Permalink
add retry
Browse files Browse the repository at this point in the history
  • Loading branch information
mloubout committed Dec 3, 2021
1 parent 866795f commit e4a2c97
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/runtests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: CI

on: push
on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
test:
Expand Down Expand Up @@ -34,6 +40,12 @@ jobs:
uses: julia-actions/julia-buildpkg@latest

- name: Run tests
id: test
continue-on-error: true
uses: julia-actions/julia-runtest@latest

- name: Retry tests once if failed
if: steps.test.outcome=='failure'
uses: julia-actions/julia-runtest@latest

- name: Run simple example
Expand Down

0 comments on commit e4a2c97

Please sign in to comment.