mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
ci: Run wikiparser doctests
Signed-off-by: James Valleroy <jvalleroy@mailbox.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
4d62530e4e
commit
53921be1b8
@ -21,6 +21,7 @@ run-unit-tests:
|
||||
- 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;PYTHONPATH='.' 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
|
||||
- su -c "cd ~/plinth/doc;./scripts/wikiparser.py" tester
|
||||
|
||||
coverage: '/^TOTAL\s+.*\s+(\d+\.\d+%)$/'
|
||||
artifacts:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user