From 5537f2e1f37e0fbc583340662d6055c76cbd22a2 Mon Sep 17 00:00:00 2001 From: s3lph Date: Thu, 2 Aug 2018 21:39:05 +0200 Subject: [PATCH] GitLab CI: Fixed coverage invocation. --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 84bda47..155ee2d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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