Skip to content

Commit b43e79a

Browse files
committed
rerun flaky tests
1 parent 1a70bcf commit b43e79a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

requirements/test.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
pytest==5.2.2
22
pytest-asyncio
33
pytest-cov
4+
pytest-rerunfailures
45
mypy>=0.750
56
black
67
flake8

scripts/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
set -e
33

4-
pytest src/py/tests --headless --cov=idom --cov-fail-under=82
4+
pytest src/py/tests --headless --cov=idom --cov-fail-under=82 --reruns 3
55
black --verbose --check src/py
66
flake8 src/py
77
mypy src/py/idom

0 commit comments

Comments
 (0)