mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-04-30 14:10:40 -04:00
add junit xml reporting to pytest
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -40,8 +40,8 @@ htmlcov/
|
||||
.coverage
|
||||
.coverage.*
|
||||
.cache
|
||||
nosetests.xml
|
||||
coverage.xml
|
||||
test_results.xml
|
||||
*,cover
|
||||
|
||||
# Translations
|
||||
|
||||
@@ -34,5 +34,5 @@ npm test
|
||||
display_result $? 2 "Front end code style check"
|
||||
|
||||
## Code coverage
|
||||
py.test -n2 --cov=app --cov-report=term-missing tests/
|
||||
py.test -n2 --cov=app --cov-report=term-missing tests/ --junitxml=test_results.xml
|
||||
display_result $? 3 "Code coverage"
|
||||
|
||||
Reference in New Issue
Block a user