GitLab CI: Fixed coverage invocation.

This commit is contained in:
s3lph 2018-08-02 21:39:05 +02:00
parent 51c804abf3
commit 5537f2e1f3

View file

@ -10,8 +10,8 @@ test:
stage: test
script:
- pip3 install -r requirements.txt
- sudo -u matemat python3-coverage run --branch -m unittest discover matemat
- sudo -u matemat python3-coverage report -m --include 'matemat/*' --omit '*/test_*.py'
- sudo -u matemat python3 -m coverage run --branch -m unittest discover matemat
- sudo -u matemat python3 -m coverage report -m --include 'matemat/*' --omit '*/test_*.py'
codestyle:
stage: test