mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
feat: expand on update.py tests and show on Gitlab UI
Signed-off-by: Leonidas Spyropoulos <artafinde@archlinux.org>
This commit is contained in:
parent
137ed04d34
commit
ef2baad7b3
4 changed files with 80 additions and 4 deletions
|
@ -51,11 +51,12 @@ test:
|
|||
# Run sharness.
|
||||
- make -C test sh
|
||||
# Run pytest.
|
||||
- pytest
|
||||
- pytest --junitxml="pytest-report.xml"
|
||||
- make -C test coverage # Produce coverage reports.
|
||||
coverage: '/TOTAL.*\s+(\d+\%)/'
|
||||
coverage: '/(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/'
|
||||
artifacts:
|
||||
reports:
|
||||
junit: pytest-report.xml
|
||||
coverage_report:
|
||||
coverage_format: cobertura
|
||||
path: coverage.xml
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue