Skip to content

Commit b102eb8

Browse files
authored
rerun failed tests (#1675)
1 parent a21394f commit b102eb8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

run-tests.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ python -m mypy src
2626
set +e
2727
python -m pytest -vvv
2828
RESULT=$?
29-
if [ "$RERECORD_FAILED_TESTS" == "true" ] && [ "$RESULT" -ne "0" ]; then
30-
RECORD=true python -m pytest -vvv --last-failed
29+
if [ "$RECORD" == "none" ]; then
30+
python -m pytest -vvv --last-failed
3131
RESULT=$?
3232
fi
3333

0 commit comments

Comments
 (0)