forked from CGM_Public/pretix_original
Added pytest-rerunfailures
This commit is contained in:
@@ -20,12 +20,12 @@ if [ "$1" == "tests" ]; then
|
||||
cd src
|
||||
python manage.py check
|
||||
make all compress
|
||||
coverage run -m py.test tests && coverage report
|
||||
coverage run -m py.test --rerun 5 tests && coverage report
|
||||
fi
|
||||
if [ "$1" == "tests-cov" ]; then
|
||||
pip3 install -r src/requirements.txt -Ur src/requirements/dev.txt -r src/requirements/py34.txt
|
||||
cd src
|
||||
python manage.py check
|
||||
make all compress
|
||||
coverage run -m py.test tests && coveralls
|
||||
coverage run -m py.test --rerun 5 tests && coveralls
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user