Ensure virtualenv is activated before running tests
Seems scripts aren't deep merged
This commit is contained in:
parent
afcadbf1ef
commit
0646610f0c
1 changed files with 1 additions and 2 deletions
|
@ -64,9 +64,8 @@ test_python:
|
|||
variables:
|
||||
POSTGRES_HOST_AUTH_METHOD: trust
|
||||
DATABASE_URL: postgres://postgres@postgres/postgres
|
||||
before_script:
|
||||
- apt-get update && apt-get install --yes git libpq-dev
|
||||
script:
|
||||
- apt-get update && apt-get install --yes git libpq-dev
|
||||
- ./manage.py collectstatic --noinput --clear
|
||||
- coverage run ./manage.py test
|
||||
- coverage report
|
||||
|
|
Loading…
Reference in a new issue