ci: Run test coverage and get report

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
This commit is contained in:
James Valleroy 2018-08-07 21:53:41 -04:00 committed by Joseph Nuthalapati
parent 13a3f6add7
commit 3d79ad7633
No known key found for this signature in database
GPG Key ID: 5398F00A2FA43C35

View File

@ -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