Skip to content
Snippets Groups Projects
Commit b1c6a6b2 authored by Daniel Kosc's avatar Daniel Kosc
Browse files

test

parent a13b9597
No related branches found
No related tags found
No related merge requests found
Pipeline #97611 failed
......@@ -16,31 +16,16 @@ stages:
- build
- deploy
#test:
# stage: test
# script:
# - pip install pytest-cov
# - coverage run -m pytest
# - coverage report
# - pytest --junitxml=report.xml
# artifacts:
# paths:
# - /builds/kypolab/theses/apg/kosc-automated-problem-generation-lib/report.xml
# when: always
# reports:
# junit:
# - /builds/kypolab/theses/apg/kosc-automated-problem-generation-lib/report.xml
pytest:
test:
stage: test
script:
- pytest --junitxml=report.xml
- pip install pytest-cov
- coverage run -m pytest
- coverage xml
artifacts:
when: always
reports:
junit: report.xml
cobertura: coverage.xml
......
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