diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 238175b8..b35e4604 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -17,7 +17,7 @@ definitions: aliases: - &unittest-python - name: Unittest python server code + name: run python unit tests caches: - pip services: @@ -30,8 +30,14 @@ aliases: - export USE_AWS=False - pipenv install --dev --system - ./server/run_unittests_coverage.sh +- &cypress-test + name: run cypress tests + services: + - postgres + script: + - echo "This pipeline rules!" - &deploy-prod - name: Heroku deploy skillbox-prod + name: deploy to prod on Heroku script: - git push https://heroku:$HEROKU_API_KEY@git.heroku.com/skillbox-prod.git HEAD:master @@ -45,8 +51,9 @@ pipelines: develop: - step: *unittest-python + - step: *cypress-test - step: - name: Heroku deploy skillbox-stage + name: deploy to stage on Heroku script: - git push https://heroku:$HEROKU_API_KEY@git.heroku.com/skillbox-stage.git develop:master