ci(coverage): add test coverage to ci

!1
This commit is contained in:
2024-05-13 17:23:09 +09:30
parent ca68c2589a
commit eb9eeff4ed

View File

@ -9,6 +9,7 @@ Unit:
- pip install -r requirements_test.txt
- cd itsm
- pytest --cov --cov-report term --cov-report xml:../artifacts/coverage.xml --cov-report html:../artifacts/coverage/ --junit-xml=../artifacts/test.junit.xml
coverage: '/(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/'
artifacts:
expire_in: "30 days"
when: always