only run relevant tests in cof/bds CI

This commit is contained in:
Martin Pépin 2020-05-14 23:38:06 +02:00
parent ee3b197ad4
commit 3946032362
No known key found for this signature in database
GPG key ID: E7520278B1774448

View file

@ -27,8 +27,6 @@ variables:
- psql --username=$POSTGRES_USER --host=$DBHOST -c "DROP DATABASE IF EXISTS test_$POSTGRES_DB"
- pip install --upgrade -r requirements-prod.txt coverage tblib
- python --version
script:
- coverage run manage.py test --parallel
after_script:
- coverage report
services:
@ -47,13 +45,16 @@ coftest:
extends: .test_template
variables:
DJANGO_SETTINGS_MODULE: "cof.settings.cof_prod"
script:
- coverage run manage.py test gestioncof bda kfet petitscours shared --parallel
bdstest:
stage: test
extends: .test_template
variables:
DJANGO_SETTINGS_MODULE: "cof.settings.bds_prod"
script:
- coverage run manage.py test bds clubs events --parallel
linters:
stage: test