Commit 2c4d9d5e authored by okhin's avatar okhin

Improving the gitlab-ci file

parent 420f0bb5
Pipeline #706 passed with stage
in 1 minute and 3 seconds
job test python: job test python:
environment: environment:
preprod preprod
script: script:
- virtualenv --python=python3 env - virtualenv --python=python3 env
- source env/bin/activate - source env/bin/activate
- cp picampaign/ picampaign/ - cp picampaign/ picampaign/
- python develop - python develop
- pip install coverage - pip install coverage
- ${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: tags: [preprod]
- preprod only:
- master
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