Skip to content

Commit 05c7496

Browse files
authored
tests: use pytest-rerunfailures (#253)
Use pytest-rerunfailures plugin to attempt to rerun failing tests up to 5 times. While this doesn't solve the underlying issue, it should keep the CI green and detecting real issues until we figure out how to solve it properly.
1 parent 1cef4bf commit 05c7496

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,3 +94,4 @@ addopts =
9494
-v
9595
--cov=mss
9696
--cov-report=term-missing
97+
--reruns 5

tests-requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@ numpy
22
pillow
33
pytest
44
pytest-cov
5+
pytest-rerunfailures
56
pyvirtualdisplay; sys_platform == "linux"
67
sphinx

0 commit comments

Comments
 (0)