add retries to tests

This commit is contained in:
ImperialSympathizer 2024-07-20 14:01:04 -04:00
parent 8de1ca8fec
commit c7ed5bee97

View File

@ -50,4 +50,4 @@ jobs:
run: npm ci # Use 'npm ci' to install dependencies
- name: tests # Step to run tests
run: npm run test${{ runner.debug == '0' &&':silent' || '' }} --retry=3 # silent on default. if debug run loud. Retry failed tests up to 3 times
run: npm run test${{ runner.debug == '0' &&':silent' || '' }} -- --retry=3 # silent on default. if debug run loud. Retry failed tests up to 3 times