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