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 setup.py develop - python setup.py develop
- cp picampaign/settings.py.sample picampaign/settings.py - cp picampaign/settings.py.sample picampaign/settings.py
- ${VIRTUAL_ENV}/bin/coverage run --source='.' manage.py test - ${VIRTUAL_ENV}/bin/coverage run --source='.' manage.py test
- ${VIRTUAL_ENV}/bin/coverage report --omit ="${VIRTUAL_ENV}/*",'*__init__.py' - ${VIRTUAL_ENV}/bin/coverage report --omit="${VIRTUAL_ENV}"/*",'*__init__.py'
stage: test stage: test
tags: [preprod] tags: [preprod]
only: only:
......
#!/bin/bash #!/bin/bash
${VIRTUAL_ENV}/bin/coverage run --source='.' manage.py test ${VIRTUAL_ENV}/bin/coverage run --source='.' manage.py test
${VIRTUAL_ENV}/bin/coverage report -m --skip-covered --omit="${VIRTUAL_ENV}/*",'*__init__.py' ${VIRTUAL_ENV}/bin/coverage report --skip-covered --omit="${VIRTUAL_ENV}/*",'*__init__.py'
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