Skip to content

Commit 97308cb

Browse files
committed
try to rerun failures
1 parent 28eef9c commit 97308cb

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

noxfile.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ def test_python(session: Session) -> None:
107107
session.install(".[all]")
108108
else:
109109
install_idom_dev(session, extras="all")
110+
pytest_args += ["--reruns", "2"]
110111

111112
session.run("pytest", "tests", *pytest_args)
112113

requirements/test-env.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@ pytest-asyncio
33
pytest-cov
44
pytest-mock
55
pytest-timeout
6+
pytest-rerunfailures
67
selenium
78
ipython

0 commit comments

Comments
 (0)