From c53efaaf5722e62bf8c6520be58c8f3eb214db90 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Sun, 17 Nov 2019 19:33:24 +0100 Subject: [PATCH] Disable Cypress in CI for now Signed-off-by: Thomas Citharel --- .gitlab-ci.yml | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 911427a7a..0c47127db 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -77,30 +77,30 @@ exunit: script: - mix coveralls -cypress: - stage: test - services: - - name: mdillon/postgis:11 - alias: postgres - script: - - mix deps.get - - cd js - - yarn install - - npx cypress install # just to be sure - - yarn run build - - cd ../ - - MIX_ENV=e2e mix ecto.create - - MIX_ENV=e2e mix ecto.migrate - - MIX_ENV=e2e mix run priv/repo/e2e.seed.exs - - MIX_ENV=e2e mix phx.server & - - cd js - - npx wait-on http://localhost:4000 - - if [ -z "$CYPRESS_KEY" ]; then npx cypress run; else npx cypress run --record --parallel --key $CYPRESS_KEY; fi - artifacts: - expire_in: 2 day - paths: - - js/tests/e2e/screenshots/**/*.png - - js/tests/e2e/videos/**/*.mp4 +#cypress: +# stage: test +# services: +# - name: mdillon/postgis:11 +# alias: postgres +# script: +# - mix deps.get +# - cd js +# - yarn install +# - npx cypress install # just to be sure +# - yarn run build +# - cd ../ +# - MIX_ENV=e2e mix ecto.create +# - MIX_ENV=e2e mix ecto.migrate +# - MIX_ENV=e2e mix run priv/repo/e2e.seed.exs +# - MIX_ENV=e2e mix phx.server & +# - cd js +# - npx wait-on http://localhost:4000 +# - if [ -z "$CYPRESS_KEY" ]; then npx cypress run; else npx cypress run --record --parallel --key $CYPRESS_KEY; fi +# artifacts: +# expire_in: 2 day +# paths: +# - js/tests/e2e/screenshots/**/*.png +# - js/tests/e2e/videos/**/*.mp4 pages: