ci: fix failed tests not failing CI pipeline

This commit is contained in:
Jens Langhammer 2020-07-14 21:36:40 +02:00
parent f67a03ad66
commit 5f34b08433
2 changed files with 5 additions and 3 deletions

View File

@ -180,9 +180,12 @@ stages:
yarn
- task: CmdLine@2
displayName: Run full test suite
inputs:
script: pipenv run coverage run ./manage.py test e2e
- task: CmdLine@2
displayName: Prepare unittests and coverage for upload
inputs:
script: |
pipenv run coverage run ./manage.py test e2e
mkdir output-e2e
mv unittest.xml output-e2e/unittest.xml
mv .coverage output-e2e/coverage

View File

@ -7,9 +7,8 @@ services:
volumes:
- db-data:/var/lib/postgresql/data
environment:
POSTGRES_HOST_AUTH_METHOD: trust
POSTGRES_DB: passbook
POSTGRES_USER: passbook
POSTGRES_PASSWORD: "EK-5jnKfjrGRm<77"
ports:
- 5432:5432
restart: always