forked from DGNum/gestioCOF
Use the production requirements in CI
This commit is contained in:
parent
481cb5e478
commit
e2af45929e
1 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@ test:
|
|||
- sed -i.bak -E 's;^REDIS_PASSWD = .*$;REDIS_PASSWD = "";' cof/settings/secret.py
|
||||
# Remove the old test database if it has not been done yet
|
||||
- psql --username=$POSTGRES_USER --host=$DBHOST -c "DROP DATABASE IF EXISTS test_$POSTGRES_DB"
|
||||
- pip install --upgrade -r requirements.txt coverage tblib
|
||||
- pip install --upgrade -r requirements-prod.txt coverage tblib
|
||||
- python --version
|
||||
script:
|
||||
- coverage run manage.py test --parallel
|
||||
|
@ -67,7 +67,7 @@ migration_checks:
|
|||
- mkdir -p vendor/{pip,apt}
|
||||
- apt-get update -q && apt-get -o dir::cache::archives="vendor/apt" install -yqq postgresql-client
|
||||
- cp cof/settings/secret_example.py cof/settings/secret.py
|
||||
- pip install --upgrade -r requirements.txt
|
||||
- pip install --upgrade -r requirements-prod.txt
|
||||
- python --version
|
||||
script: python manage.py makemigrations --dry-run --check
|
||||
services:
|
||||
|
|
Loading…
Reference in a new issue