mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-24 00:07:02 -04:00
Merge pull request #3326 from alphagov/remove-coverage
Tidy up command that runs unit tests
This commit is contained in:
@@ -2,7 +2,6 @@
|
|||||||
isort==4.3.21
|
isort==4.3.21
|
||||||
pytest==5.3.2
|
pytest==5.3.2
|
||||||
pytest-env==0.6.2
|
pytest-env==0.6.2
|
||||||
pytest-cov==2.8.1
|
|
||||||
pytest-mock==1.11.2
|
pytest-mock==1.11.2
|
||||||
pytest-xdist==1.31.0
|
pytest-xdist==1.31.0
|
||||||
beautifulsoup4==4.8.1
|
beautifulsoup4==4.8.1
|
||||||
|
|||||||
@@ -36,6 +36,5 @@ display_result $? 2 "Import order check"
|
|||||||
npm test
|
npm test
|
||||||
display_result $? 3 "Javascript tests have"
|
display_result $? 3 "Javascript tests have"
|
||||||
|
|
||||||
## Code coverage
|
py.test -n auto --maxfail=10 tests/
|
||||||
py.test -n auto --maxfail=10 --cov=app --cov-report=term-missing tests/ --strict -p no:warnings
|
display_result $? 4 "Unit tests have"
|
||||||
display_result $? 4 "Code coverage"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user