Add cypress test to all pipelines

This commit is contained in:
Ramon Wenger 2019-03-29 17:03:15 +01:00
parent ba436f8186
commit 8ad5be305a
1 changed files with 3 additions and 1 deletions

View File

@ -36,7 +36,7 @@ aliases:
- echo "This pipeline rules!"
- *setup-tests
- npm install --prefix client
# - npm run "install:cypress" --prefix client
# - npm run "install:cypress" --prefix client
- psql -U $DATABASE_USER -h $DATABASE_HOST -c "create database $DATABASE_NAME"
- python server/manage.py dummy_data
- python server/manage.py runserver &
@ -55,6 +55,7 @@ pipelines:
branches:
master:
- step: *unittest-python
- step: *cypress-test
develop:
- step: *unittest-python
@ -67,4 +68,5 @@ pipelines:
custom:
prod:
- step: *unittest-python
- step: *cypress-test
- step: *deploy-prod