Commit f66dde57 authored by okhin's avatar okhin

Test job

parent b600284b
Pipeline #1029 failed with stage
in 1 second
variables:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/pip-cache"
cache:
paths:
- "$CI_PROJECT_DIR/pip-cache"
key: "$CI_PROJECT_ID"
stages:
- test
- build
- deploy
unit tests:
stage: test
script:
- virtualenv3 env
- source ./env/bin/activate
- pip install -r requirements.txt
- pip install -r requirements-dev.txt
- pip install -r requirements-tests.txt
- echo "DEBUG = True" > ./project/settings/env.py
- echo "SECRET_KEY = '$(pwgen 20 1)'" >> ./project/settings/env.py
- pytest apps/ --cov=apps/
tags: [preprod]
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