This commit is contained in:
Oscar Krause 2025-03-26 12:07:46 +01:00
parent 1178191d25
commit fd8b2a41f6

View File

@ -8,6 +8,9 @@
artifacts: artifacts:
reports: reports:
junit: [ '**/report.xml' ] junit: [ '**/report.xml' ]
coverage_report:
coverage_format: cobertura
path: '**/coverage.xml'
test: test:
extends: .test extends: .test
@ -18,15 +21,10 @@ test:
- pytest test_decrypt.py - pytest test_decrypt.py
- test_instance_token.py - test_instance_token.py
script: script:
- echo "Testing $TEST_FILE" ...
- coverage run -m pytest $TEST_FILE --junitxml=report.xml --suppress-no-test-exit-code - coverage run -m pytest $TEST_FILE --junitxml=report.xml --suppress-no-test-exit-code
- coverage report $TEST_FILE - coverage report $TEST_FILE
- coverage xml $TEST_FILE - coverage xml $TEST_FILE
artifacts:
reports:
junit: [ "**/report.xml" ]
coverage_report:
coverage_format: cobertura
path: "**/coverage.xml"
docker:inspect: docker:inspect:
rules: rules: