Commit e2af03b7 authored by okhin's avatar okhin

Updating the coverage in gitlab-ci.yml

parent 5f281b8e
Pipeline #711 failed with stage
in 56 seconds
...@@ -8,7 +8,7 @@ job test python: ...@@ -8,7 +8,7 @@ job test python:
- python develop - python develop
- cp picampaign/ picampaign/ - cp picampaign/ picampaign/
- ${VIRTUAL_ENV}/bin/coverage run --source='.' test - ${VIRTUAL_ENV}/bin/coverage run --source='.' test
- ${VIRTUAL_ENV}/bin/coverage report --omit ="${VIRTUAL_ENV}/*",'*' - ${VIRTUAL_ENV}/bin/coverage report --omit="${VIRTUAL_ENV}"/*",'*'
stage: test stage: test
tags: [preprod] tags: [preprod]
only: only:
#!/bin/bash #!/bin/bash
${VIRTUAL_ENV}/bin/coverage run --source='.' test ${VIRTUAL_ENV}/bin/coverage run --source='.' test
${VIRTUAL_ENV}/bin/coverage report -m --skip-covered --omit="${VIRTUAL_ENV}/*",'*' ${VIRTUAL_ENV}/bin/coverage report --skip-covered --omit="${VIRTUAL_ENV}/*",'*'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment