ci: correct junit collection to use wildcard name

!6
This commit is contained in:
2024-05-18 14:35:50 +09:30
parent 95405283b9
commit ce18edaa39

View File

@ -8,7 +8,7 @@ Unit:
- pip install -r requirements.txt
- pip install -r requirements_test.txt
- cd app
- pytest --cov --cov-report term --cov-report xml:../artifacts/coverage.xml --cov-report html:../artifacts/coverage/ --junit-xml=../artifacts/test.JUnit.xml
- pytest --cov --cov-report term --cov-report xml:../artifacts/coverage.xml --cov-report html:../artifacts/coverage/ --junit-xml=../artifacts/unit.JUnit.xml
coverage: '/(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/'
artifacts:
expire_in: "30 days"
@ -18,7 +18,7 @@ Unit:
coverage_format: cobertura
path: artifacts/coverage.xml
junit:
- artifacts/unit.JUnit.xml
- artifacts/*.JUnit.xml
paths:
- artifacts/
rules: