Skip to content

Commit

Permalink
Run crashing tests with restarts
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronj0 authored Apr 26, 2024
1 parent 720aa69 commit 91bfcd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@ jobs:
# See if we don't have a crash that went away
# Comment out all xfails but the ones that have a run=False condition.
find . -name "*.py" -exec sed -i '/run=False/!s/^ *@mark.xfail\(.*\)/#&/' {} \;
python -m pytest -m "xfail" --runxfail -sv | tee test_crashed.log 2>&1 || true
python -m pytest -n 1 -m "xfail" --runxfail -sv --max-worker-restart 512 | tee test_crashed.log 2>&1 || true
git checkout .
echo ::endgroup::
echo ::group::XFAIL Test Logs
Expand Down

0 comments on commit 91bfcd2

Please sign in to comment.