[ci-cd] coverage report

This commit is contained in:
maxime 2023-08-02 10:49:54 +02:00
parent 0817882558
commit f646b4d663
1 changed files with 8 additions and 1 deletions

View File

@ -47,9 +47,16 @@ test:
- PYVERSION: ["3.8", "3.9", "3.10"]
script:
- pipenv run pytest --version
- PYTHONPATH=./tests/ pipenv run pytest -v ./tests
- PYTHONPATH=./tests/ pipenv run coverage run --source halfapi -m pytest
- pipenv run coverage xml
- pipenv run halfapi --version
artifacts:
reports:
coverage_report:
coverage_format: cobertura
path: coverage.xml
build_pypi:
stage: build
script: