Allow integration test to retry

This commit is contained in:
Kristoffer Dalby 2022-02-22 07:40:56 +00:00
parent 8dca40535f
commit fe2f75d13d

View file

@ -29,4 +29,8 @@ jobs:
- name: Run Integration tests
if: steps.changed-files.outputs.any_changed == 'true'
run: go test -tags integration -timeout 30m
uses: nick-invision/retry@v2
with:
max_attempts: 5
retry_on: error
command: go test -tags integration -timeout 20m