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

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2019-10-16 11:30:57 +02:00
parent c82288a627
commit ef7dc3f020
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -95,7 +95,7 @@ cypress:
- MIX_ENV=e2e mix phx.server &
- cd js
- 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:
expire_in: 2 day
paths: