Merge pull request #3 from helenanull/circle-config-1

Update orb
master
helena 2 years ago committed by GitHub
commit a2b7fa7fa3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,10 +1,21 @@
version: 2.1 version: 2.1
orbs: orbs:
cypress: cypress-io/cypress@3.1.3 cypress: cypress-io/cypress@3.1.3
workflows: workflows:
run-cy-tests: build:
jobs: jobs:
- cypress/run: - cypress/run:
cypress-command: npm run cy:ci cypress-command: 'npx cypress run --parallel --record'
parallelism: 2 # use 2 CircleCI machines to finish quickly parallelism: 2
weekly:
triggers:
- schedule:
cron: "0 0 * * 0"
filters:
branches:
only:
- main
jobs:
- cypress/run:
cypress-command: 'npx cypress run --parallel --record'
parallelism: 2

1
.gitignore vendored

@ -5,3 +5,4 @@ bin-release/
/screenshots /screenshots
cypress/videos cypress/videos
/node_modules /node_modules
cypress/screenshots

@ -7,7 +7,7 @@
"cy:open:web": "cypress open --e2e --browser=chrome --env device=web", "cy:open:web": "cypress open --e2e --browser=chrome --env device=web",
"cy:run:mob": "cypress run --browser=chrome --env device=mob", "cy:run:mob": "cypress run --browser=chrome --env device=mob",
"cy:run:web": "cypress run --env device=web", "cy:run:web": "cypress run --env device=web",
"cy:ci": "cypress run --env device=web --record --parallel --browser electron --headless --group=all_tests" "cy:ci": "cypress run --env device=web --record --parallel --browser chrome --headless"
}, },
"devDependencies": { "devDependencies": {
"cypress": "^13.1.0", "cypress": "^13.1.0",

Loading…
Cancel
Save