Merge pull request #1867 from alphagov/fail-fast

Stop pytest on 10th failing test
This commit is contained in:
Leo Hemsted
2018-02-14 15:11:35 +00:00
committed by GitHub

View File

@@ -35,5 +35,5 @@ npm test
display_result $? 2 "Front end code style check"
## Code coverage
py.test -n4 --cov=app --cov-report=term-missing tests/ --junitxml=test_results.xml --strict
py.test -n4 --maxfail=10 --cov=app --cov-report=term-missing tests/ --junitxml=test_results.xml --strict
display_result $? 3 "Code coverage"