Revert "Disable Cypress in CI for now"

This reverts commit 64ef8e04e2.
This commit is contained in:
Thomas Citharel 2019-11-18 10:32:57 +01:00
parent 5786ba057b
commit d1a9f06619
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773
1 changed files with 24 additions and 24 deletions

View File

@ -77,30 +77,30 @@ exunit:
script: script:
- mix coveralls - mix coveralls
#cypress: cypress:
# stage: test stage: test
# services: services:
# - name: mdillon/postgis:11 - name: mdillon/postgis:11
# alias: postgres alias: postgres
# script: script:
# - mix deps.get - mix deps.get
# - cd js - cd js
# - yarn install - yarn install
# - npx cypress install # just to be sure - npx cypress install # just to be sure
# - yarn run build - yarn run build
# - cd ../ - cd ../
# - MIX_ENV=e2e mix ecto.create - MIX_ENV=e2e mix ecto.create
# - MIX_ENV=e2e mix ecto.migrate - MIX_ENV=e2e mix ecto.migrate
# - MIX_ENV=e2e mix run priv/repo/e2e.seed.exs - MIX_ENV=e2e mix run priv/repo/e2e.seed.exs
# - MIX_ENV=e2e mix phx.server & - MIX_ENV=e2e mix phx.server &
# - cd js - cd js
# - npx wait-on http://localhost:4000 - npx wait-on http://localhost:4000
# - if [ -z "$CYPRESS_KEY" ]; then npx cypress run; else npx cypress run --record --parallel --key $CYPRESS_KEY; fi - if [ -z "$CYPRESS_KEY" ]; then npx cypress run; else npx cypress run --record --parallel --key $CYPRESS_KEY; fi
# artifacts: artifacts:
# expire_in: 2 day expire_in: 2 day
# paths: paths:
# - js/tests/e2e/screenshots/**/*.png - js/tests/e2e/screenshots/**/*.png
# - js/tests/e2e/videos/**/*.mp4 - js/tests/e2e/videos/**/*.mp4
pages: pages: