Skip to content

Commit

Permalink
add reruns
Browse files Browse the repository at this point in the history
  • Loading branch information
psobolewskiPhD committed Jul 21, 2024
1 parent 692f5c3 commit ef27a57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ testing = [
"pytest-qt>=4.3.1",
"pytest-pretty>=1.1.0",
"pytest>=8.1.0",
"pytest-rerunfailures",
"pytest-xdist",
"tensorstore>=0.1.13",
"virtualenv>=20.17",
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ commands =
echo "COVERAGE: {env:COVERAGE:}"
cov: coverage run \
!cov: python \
-m pytest -n 3 --dist loadfile {env:PYTEST_PATH:} --color=yes --basetemp={envtmpdir} \
-m pytest -n 3 --dist loadfile --reruns 5 {env:PYTEST_PATH:} --color=yes --basetemp={envtmpdir} \
--ignore tools --maxfail=5 --json-report \
linux: --pystack-threshold=60 --pystack-args="--native-all" \
--json-report-file={toxinidir}/report-{envname}.json {posargs} \
Expand Down

0 comments on commit ef27a57

Please sign in to comment.