-
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# to use orbs, must use version >= 2.1 | ||
version: 2.1 | ||
orbs: | ||
# import Cypress orb by specifying an exact version x.y.z | ||
# or the latest version 1.x.x using "@1" syntax | ||
# https://github.com/cypress-io/circleci-orb | ||
cypress: cypress-io/cypress@2 | ||
workflows: | ||
build: | ||
jobs: | ||
# "cypress" is the name of the imported orb | ||
# "run" is the name of the job defined in Cypress orb | ||
- cypress/run: | ||
executor: cypress/base-16-14-2-slim | ||
# run N identical job containers | ||
parallelism: 3 | ||
# built-in CircleCI environment variables | ||
# https://circleci.com/docs/variables/#built-in-environment-variables | ||
build: npx @bahmutov/print-env CIRCLE | ||
command: npx cypress run --env split=true | ||
# no further jobs, thus no need to save the files | ||
no-workspace: true |