[ci-cd] coverage report
This commit is contained in:
parent
0817882558
commit
f646b4d663
|
@ -47,9 +47,16 @@ test:
|
||||||
- PYVERSION: ["3.8", "3.9", "3.10"]
|
- PYVERSION: ["3.8", "3.9", "3.10"]
|
||||||
script:
|
script:
|
||||||
- pipenv run pytest --version
|
- 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
|
- pipenv run halfapi --version
|
||||||
|
|
||||||
|
artifacts:
|
||||||
|
reports:
|
||||||
|
coverage_report:
|
||||||
|
coverage_format: cobertura
|
||||||
|
path: coverage.xml
|
||||||
|
|
||||||
build_pypi:
|
build_pypi:
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
|
|
Loading…
Reference in New Issue