forked from DGNum/gestioCOF
only run relevant tests in cof/bds CI
This commit is contained in:
parent
f26d330973
commit
25b603d667
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