mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
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:
parent
13a3f6add7
commit
3d79ad7633
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user