mirror of
https://github.com/trezor/trezor-wallet
synced 2025-05-24 01:38:46 +00:00
Install cypress
This commit is contained in:
parent
e317e2ea88
commit
70aaed5cec
@ -1,10 +1,13 @@
|
|||||||
image: node:9.3
|
image: node:9.3
|
||||||
|
|
||||||
|
variables:
|
||||||
|
CYPRESS_CACHE_FOLDER: "$CI_PROJECT_DIR/cache/Cypress"
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
key: ${CI_COMMIT_REF_SLUG}
|
key: ${CI_COMMIT_REF_SLUG}
|
||||||
paths:
|
paths:
|
||||||
- node_modules/
|
- node_modules
|
||||||
- /root/.cache/Cypress
|
- cache/Cypress
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- test
|
- test
|
||||||
@ -145,4 +148,5 @@ integration tests:
|
|||||||
stage: integration tests
|
stage: integration tests
|
||||||
script:
|
script:
|
||||||
- yarn install
|
- yarn install
|
||||||
- $(yarn bin)/cypress run test-integration -c baseUrl="${DEPLOY_BASE_DIR}/${CI_BUILD_REF_NAME}"
|
- npx cypress install
|
||||||
|
- npx cypress run test-integration -c baseUrl="${DEPLOY_BASE_DIR}/${CI_BUILD_REF_NAME}"
|
Loading…
Reference in New Issue
Block a user