ci: fix failed tests not failing CI pipeline
This commit is contained in:
parent
f67a03ad66
commit
5f34b08433
|
@ -180,9 +180,12 @@ stages:
|
||||||
yarn
|
yarn
|
||||||
- task: CmdLine@2
|
- task: CmdLine@2
|
||||||
displayName: Run full test suite
|
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:
|
inputs:
|
||||||
script: |
|
script: |
|
||||||
pipenv run coverage run ./manage.py test e2e
|
|
||||||
mkdir output-e2e
|
mkdir output-e2e
|
||||||
mv unittest.xml output-e2e/unittest.xml
|
mv unittest.xml output-e2e/unittest.xml
|
||||||
mv .coverage output-e2e/coverage
|
mv .coverage output-e2e/coverage
|
||||||
|
|
|
@ -7,9 +7,8 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- db-data:/var/lib/postgresql/data
|
- db-data:/var/lib/postgresql/data
|
||||||
environment:
|
environment:
|
||||||
|
POSTGRES_HOST_AUTH_METHOD: trust
|
||||||
POSTGRES_DB: passbook
|
POSTGRES_DB: passbook
|
||||||
POSTGRES_USER: passbook
|
|
||||||
POSTGRES_PASSWORD: "EK-5jnKfjrGRm<77"
|
|
||||||
ports:
|
ports:
|
||||||
- 5432:5432
|
- 5432:5432
|
||||||
restart: always
|
restart: always
|
||||||
|
|
Reference in a new issue