mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-09 06:32:11 -05:00
add junit xml reporting to pytest
also add file location to gitignore preemptively
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -42,8 +42,8 @@ htmlcov/
|
||||
.coverage
|
||||
.coverage.*
|
||||
.cache
|
||||
nosetests.xml
|
||||
coverage.xml
|
||||
test_results.xml
|
||||
*,cover
|
||||
|
||||
# Translations
|
||||
|
||||
@@ -30,5 +30,5 @@ fi
|
||||
pep8 .
|
||||
display_result $? 1 "Code style check"
|
||||
|
||||
py.test --cov=app --cov-report=term-missing tests/
|
||||
py.test --cov=app --cov-report=term-missing tests/ --junitxml=test_results.xml
|
||||
display_result $? 2 "Unit tests"
|
||||
|
||||
Reference in New Issue
Block a user