diff options
| author | jfriedli | 2023-06-13 19:38:38 +0000 |
|---|---|---|
| committer | jfriedli | 2023-06-13 19:38:38 +0000 |
| commit | 43bb9445d05b93e107b7e7301bc048eadfd4d1c9 (patch) | |
| tree | 569b7c991d29a5f38b5b32db53b9820baec17553 /.gitlab-ci.yml | |
| parent | e90391a271d9f06e16c877ee5f0542f1e68c8263 (diff) | |
compute correct coverage
Diffstat (limited to '.gitlab-ci.yml')
| -rw-r--r-- | .gitlab-ci.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 11a6e66..ad19169 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml | |||
| @@ -41,7 +41,7 @@ tests:debian: | |||
| 41 | - python3 -m venv .venv | 41 | - python3 -m venv .venv |
| 42 | - source .venv/bin/activate | 42 | - source .venv/bin/activate |
| 43 | - pip3 install -r requirements.txt -r requirements-test.txt | 43 | - pip3 install -r requirements.txt -r requirements-test.txt |
| 44 | - coverage run --branch --include main.py,matweb/*.py -m unittest discover -s test | 44 | - coverage run --branch --include ./main.py,matweb/*.py -m unittest discover -s test |
| 45 | - coverage report -m | 45 | - coverage report -m |
| 46 | - coverage xml | 46 | - coverage xml |
| 47 | coverage: '/TOTAL.*(\d\d%)/' | 47 | coverage: '/TOTAL.*(\d\d%)/' |
