Merge branch 'test/make-cypress-run-when-no-key' into 'master'

Make cypress run even when no key (merge requests from forks)

See merge request framasoft/mobilizon!276
This commit is contained in:
Thomas Citharel 2019-10-16 11:51:07 +02:00
commit bf82fa4528

View File

@ -95,7 +95,7 @@ cypress:
- 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
- npx cypress run --record --parallel --key $CYPRESS_KEY - if [ -z "$CYPRESS_KEY" ]; then npx cypress run --record --parallel --key $CYPRESS_KEY; else npx cypress run; fi
artifacts: artifacts:
expire_in: 2 day expire_in: 2 day
paths: paths: