Enhance pipeline stability and automatically retry unstable tests (#1566)

* add test retry to action

* add test retry to action
This commit is contained in:
MichaelKo 2023-11-27 18:32:52 +01:00 committed by GitHub
parent a59aab2081
commit 85e92db505
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
40 changed files with 160 additions and 40 deletions

View file

@ -35,8 +35,11 @@ jobs:
config-example.yaml
- name: Run TestUserCommand
uses: Wandalen/wretry.action@master
if: steps.changed-files.outputs.any_changed == 'true'
run: |
with:
attempt_limit: 5
command: |
nix develop --command -- docker run \
--tty --rm \
--volume ~/.cache/hs-integration-go:/go \