Don't run E2E tests on CI

This commit is contained in:
ErickSkrauch 2020-07-22 13:06:59 +03:00
parent 5a9c54002d
commit 8d9d830a7e
No known key found for this signature in database
GPG Key ID: 669339FCBB30EE0E

View File

@ -41,16 +41,6 @@ stages:
- tests-e2e/node_modules # Keep this node_modules because it's one of workspaces - tests-e2e/node_modules # Keep this node_modules because it's one of workspaces
policy: pull policy: pull
.yarnE2ECache:
cache:
key: yarn-e2e-cache
paths:
- cache/cypress
- node_modules
- packages/*/node_modules
- tests-e2e/node_modules
policy: pull
################# #################
# Prepare stage # # Prepare stage #
################# #################
@ -69,19 +59,6 @@ Yarn:
script: script:
- yarn install --frozen-lockfile - yarn install --frozen-lockfile
Yarn E2E:
stage: prepare
image: $NODE_E2E_IMAGE
extends:
- .yarnE2ECache
cache:
policy: pull-push
script:
- yarn install --frozen-lockfile
only:
refs:
- master
################# #################
# Testing stage # # Testing stage #
################# #################
@ -134,32 +111,6 @@ Crowdin:
- packages/app/i18n/index.js - packages/app/i18n/index.js
expire_in: 1 week expire_in: 1 week
Cypress:
stage: test
image: $NODE_E2E_IMAGE
needs:
- Yarn E2E
extends:
- .yarnE2ECache
variables:
# Sentry's DSN is provided for build step from repository configuration,
# but it's not necessary to send any logs reports during E2E testing
SENTRY_DSN: ""
script:
- yarn start &
- yarn wait-on http://localhost:8080
- >
yarn --cwd tests-e2e test:ci
--record
--browser chrome
--parallel
parallel: 4
timeout: 20m
allow_failure: true
only:
refs:
- master
############### ###############
# Build stage # # Build stage #
############### ###############