diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bfc7af5b6..db2b52ff5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -22,7 +22,7 @@ run-unit-tests: - cp -r . /home/tester/plinth - chown -R tester:tester /home/tester/plinth - su -c "cd ~/plinth; python3 -m flake8 --exclude actions/domainname-change,actions/dynamicdns,actions/hostname-change,actions/networks plinth actions/*" tester - - su -c "cd ~/plinth; py.test-3 --cov=plinth --cov-report=html --cov-report=term" tester + - su -c "cd ~/plinth; py.test-3 --cov=plinth --cov-report=html:/home/tester/plinth/htmlcov --cov-report=term" tester - cp -r /home/tester/plinth/htmlcov test-coverage-report coverage: '/^TOTAL\s+.*\s+(\d+\.\d+%)$/'