Skip to content
Snippets Groups Projects
Verified Commit 1990e09c authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

[CI] Enable JUnit report generation on test run

parent bdc6a99f
No related branches found
No related tags found
No related merge requests found
Pipeline #365 passed with warnings
...@@ -23,7 +23,10 @@ test: ...@@ -23,7 +23,10 @@ test:
before_script: before_script:
- adduser --disabled-password --gecos "Test User" testuser - adduser --disabled-password --gecos "Test User" testuser
script: script:
- sudo -u testuser tox -e py38 - sudo -u testuser tox -e py38 -- --junitxml=.tox/junit.xml
artifacts:
reports:
junit: .tox/junit.xml
lint: lint:
stage: test stage: test
......
...@@ -69,6 +69,7 @@ django_settings_module = biscuit.core.settings ...@@ -69,6 +69,7 @@ django_settings_module = biscuit.core.settings
[pytest] [pytest]
DJANGO_SETTINGS_MODULE = biscuit.core.settings DJANGO_SETTINGS_MODULE = biscuit.core.settings
junit_family = legacy
[coverage:run] [coverage:run]
omit = omit =
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment