From 3d79ad76338d14ec54b42706352bc1cef422d24c Mon Sep 17 00:00:00 2001 From: James Valleroy Date: Tue, 7 Aug 2018 21:53:41 -0400 Subject: [PATCH] ci: Run test coverage and get report Signed-off-by: James Valleroy Reviewed-by: Joseph Nuthalapati --- .gitlab-ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 60f931c53..2fe18eb9d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -22,7 +22,12 @@ run-unit-tests: - echo "tester:password" | chpasswd - cp -r . /home/tester/plinth - chown -R tester:tester /home/tester/plinth - - su -c "cd ~/plinth; python3 setup.py test" tester + - su -c "cd ~/plinth; python3 setup.py test_coverage" tester + - cp -r /home/tester/plinth/plinth/tests/coverage/report test-coverage-report + + artifacts: + paths: + - test-coverage-report/* build-debian-package: stage: package