Add coverage to pytest ci run

This commit is contained in:
nolash 2021-05-31 16:41:07 +02:00
parent 1473187abc
commit 40e96b775d
Signed by untrusted user who does not match committer: lash
GPG Key ID: 21D2E7BB88C2A746

View File

@ -24,7 +24,7 @@ test-mr-cic-eth:
image: $CI_REGISTRY_IMAGE/$APP_NAME-test:latest image: $CI_REGISTRY_IMAGE/$APP_NAME-test:latest
script: script:
- cd apps/$APP_NAME/ - cd apps/$APP_NAME/
- pytest tests - pytest -x --cov=cic_eth --cov-fail-under=90 --cov-report term-missing tests
needs: ["build-mr-cic-eth"] needs: ["build-mr-cic-eth"]
build-push-cic-eth: build-push-cic-eth: