mirror of
https://0xacab.org/jvoisin/mat2-web.git
synced 2025-02-24 00:59:59 -05:00
create coverage report visualization artifact for gitlab
This commit is contained in:
parent
419a95fba7
commit
18604650d0
@ -38,12 +38,16 @@ tests:debian:
|
|||||||
before_script:
|
before_script:
|
||||||
- apt update
|
- apt update
|
||||||
script:
|
script:
|
||||||
- apt-get -qqy update
|
- apt-get -qqy update
|
||||||
- apt-get -qqy install --no-install-recommends mat2 python3-flask python3-coverage python3-pip python3-setuptools
|
- apt-get -qqy install --no-install-recommends mat2 python3-flask python3-coverage python3-pip python3-setuptools
|
||||||
- pip3 install wheel
|
- pip3 install wheel
|
||||||
- pip3 install -r requirements.txt -r requirements-test.txt
|
- 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 run --branch --include main.py,matweb/*.py -m unittest discover -s test
|
||||||
- python3-coverage report -m
|
- python3-coverage report -m
|
||||||
|
- python3-coverage xml
|
||||||
|
artifacts:
|
||||||
|
reports:
|
||||||
|
cobertura: coverage.xml
|
||||||
|
|
||||||
build-docker:
|
build-docker:
|
||||||
stage: build_container
|
stage: build_container
|
||||||
|
Loading…
x
Reference in New Issue
Block a user