forked from DGNum/gestioCOF
only run relevant tests in cof/bds CI
This commit is contained in:
parent
ee3b197ad4
commit
3946032362
1 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue