mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-23 00:14:48 +00:00
Disable cypress tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
5e6bdb92fb
commit
1b2f107ada
1 changed files with 24 additions and 24 deletions
|
@ -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:
|
||||
stage: deploy
|
||||
|
|
Loading…
Reference in a new issue