Adds xml outputs

This commit is contained in:
Michael 2020-06-20 12:25:55 -05:00
parent 034a8bcc41
commit 095b1cacda
4 changed files with 7 additions and 1 deletions

View File

@ -21,7 +21,8 @@ jobs:
- run:
command: COVERALLS_REPO_TOKEN=Q58WdUuZOi89XHyDeDsGE2lxUGQ2IfqP3 coveralls
name: Coverage
- store_test_results
- store_test_results:
path: ~/test-results/
test-django-2:
<<: *template
environment:

1
.gitignore vendored
View File

@ -46,6 +46,7 @@ coverage.xml
*.cover
.hypothesis/
.pytest_cache/
test-results/
# Translations
*.mo

View File

@ -72,6 +72,9 @@ REST_FRAMEWORK = {
)
}
TEST_RUNNER = 'xmlrunner.extra.djangotestrunner.XMLTestRunner'
TEST_OUTPUT_DIR = 'test-results'
INSTALLED_APPS = [
'django.contrib.messages',
'django.contrib.admin',

View File

@ -34,6 +34,7 @@ setup(
'with_social': ['django-allauth>=0.25.0'],
},
tests_require=[
'unittest-xml-reporting>=3.0.2',
'responses>=0.5.0',
'django-allauth>=0.25.0',
'djangorestframework-simplejwt>=4.4.0 ',