forked from DGNum/gestioCOF
core.ci -- Run tests in parallel
tblib displays traceback correctly with --parallel
This commit is contained in:
parent
e6e4a13440
commit
8db55d792c
1 changed files with 2 additions and 2 deletions
|
@ -27,10 +27,10 @@ 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
|
||||
- pip install --upgrade -r requirements.txt coverage tblib
|
||||
- python --version
|
||||
script:
|
||||
- coverage run manage.py test
|
||||
- coverage run manage.py test --parallel
|
||||
after_script:
|
||||
- coverage report
|
||||
services:
|
||||
|
|
Loading…
Reference in a new issue