@ -8,7 +8,7 @@ Unit:
|
|||||||
- pip install -r requirements.txt
|
- pip install -r requirements.txt
|
||||||
- pip install -r requirements_test.txt
|
- pip install -r requirements_test.txt
|
||||||
- cd app
|
- 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+)?\%)$/'
|
coverage: '/(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/'
|
||||||
artifacts:
|
artifacts:
|
||||||
expire_in: "30 days"
|
expire_in: "30 days"
|
||||||
@ -18,7 +18,7 @@ Unit:
|
|||||||
coverage_format: cobertura
|
coverage_format: cobertura
|
||||||
path: artifacts/coverage.xml
|
path: artifacts/coverage.xml
|
||||||
junit:
|
junit:
|
||||||
- artifacts/unit.JUnit.xml
|
- artifacts/*.JUnit.xml
|
||||||
paths:
|
paths:
|
||||||
- artifacts/
|
- artifacts/
|
||||||
rules:
|
rules:
|
||||||
|
Reference in New Issue
Block a user