Skip to content
Snippets Groups Projects
Commit 77159dfb authored by DarkLynx32's avatar DarkLynx32
Browse files

Added junit report

parent 1c4e8489
No related branches found
No related tags found
1 merge request!16Git lab pipeline, testing coverage visualization
Pipeline #91324 passed
...@@ -55,11 +55,13 @@ UnitTestPython: ...@@ -55,11 +55,13 @@ UnitTestPython:
stage: Test stage: Test
script: script:
# Run LocalProjector tests # Run LocalProjector tests
- pytest --cov=LocalProjector/src/ LocalProjector/tests/ - pytest --cov=LocalProjector/src/ --junitxml=report.xml LocalProjector/tests/
# Export coverage report # Export coverage report
- coverage xml - coverage xml
artifacts: artifacts:
when: always
reports: reports:
junit: report.xml
cobertura: coverage.xml cobertura: coverage.xml
expire_in: 1 week expire_in: 1 week
...@@ -79,9 +81,6 @@ E2ETest: ...@@ -79,9 +81,6 @@ E2ETest:
script: script:
- echo "E2E tests have yet to be integrated." - echo "E2E tests have yet to be integrated."
# TODO integration stage
# TODO E2E stage
################# #################
# STAGE: deploy # # STAGE: deploy #
################# #################
......
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