Add cypress test to all pipelines
This commit is contained in:
parent
ba436f8186
commit
8ad5be305a
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue