From f6036c8461b86d9e19f30441bd458463a7232d21 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Wed, 16 Oct 2019 13:43:41 +0200 Subject: [PATCH] Fix Cypress run on CI Had written the condition the wrong way Signed-off-by: Thomas Citharel --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5c832b21b..911427a7a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -95,7 +95,7 @@ cypress: - MIX_ENV=e2e mix phx.server & - cd js - npx wait-on http://localhost:4000 - - if [ -z "$CYPRESS_KEY" ]; then npx cypress run --record --parallel --key $CYPRESS_KEY; else npx cypress run; fi + - if [ -z "$CYPRESS_KEY" ]; then npx cypress run; else npx cypress run --record --parallel --key $CYPRESS_KEY; fi artifacts: expire_in: 2 day paths: