create coverage report visualization artifact for gitlab

This commit is contained in:
jfriedli 2021-06-13 11:15:14 +00:00
parent 419a95fba7
commit 18604650d0

View File

@ -38,12 +38,16 @@ tests:debian:
before_script:
- apt update
script:
- apt-get -qqy update
- apt-get -qqy install --no-install-recommends mat2 python3-flask python3-coverage python3-pip python3-setuptools
- pip3 install wheel
- pip3 install -r requirements.txt -r requirements-test.txt
- python3-coverage run --branch --include main.py,matweb/*.py -m unittest discover -s test
- python3-coverage report -m
- apt-get -qqy update
- apt-get -qqy install --no-install-recommends mat2 python3-flask python3-coverage python3-pip python3-setuptools
- pip3 install wheel
- pip3 install -r requirements.txt -r requirements-test.txt
- python3-coverage run --branch --include main.py,matweb/*.py -m unittest discover -s test
- python3-coverage report -m
- python3-coverage xml
artifacts:
reports:
cobertura: coverage.xml
build-docker:
stage: build_container