mirror of
https://github.com/cypress-io/cypress.git
synced 2026-01-15 19:49:57 -06:00
chore: fixing the desktop-gui-component-tests build step
This commit is contained in:
27
circle.yml
27
circle.yml
@@ -808,6 +808,7 @@ jobs:
|
||||
- wait-on-circle-jobs:
|
||||
job-names: >
|
||||
desktop-gui-integration-tests-2x,
|
||||
desktop-gui-component-tests,
|
||||
cli-visual-tests,
|
||||
runner-integration-tests-chrome,
|
||||
runner-ct-integration-tests-chrome
|
||||
@@ -1027,7 +1028,7 @@ jobs:
|
||||
PERCY_PARALLEL_NONCE=$CIRCLE_WORKFLOW_ID \
|
||||
PERCY_PARALLEL_TOTAL=-1 \
|
||||
yarn percy exec -- \
|
||||
"yarn cypress:run --record --parallel --group 2x-desktop-gui && yarn cypress:run:ct"
|
||||
yarn cypress:run --record --parallel --group 2x-desktop-gui
|
||||
working_directory: packages/desktop-gui
|
||||
- verify-mocha-results
|
||||
- store_test_results:
|
||||
@@ -1036,6 +1037,26 @@ jobs:
|
||||
path: /tmp/artifacts
|
||||
- store-npm-logs
|
||||
|
||||
|
||||
desktop-gui-component-tests:
|
||||
<<: *defaults
|
||||
parallelism: 1
|
||||
steps:
|
||||
- attach_workspace:
|
||||
at: ~/
|
||||
- run:
|
||||
# will use PERCY_TOKEN environment variable if available
|
||||
command: |
|
||||
CYPRESS_KONFIG_ENV=production \
|
||||
PERCY_PARALLEL_NONCE=$CIRCLE_WORKFLOW_ID \
|
||||
PERCY_PARALLEL_TOTAL=-1 \
|
||||
yarn percy exec -- \
|
||||
yarn cypress:run:ct'
|
||||
working_directory: packages/desktop-gui
|
||||
- verify-mocha-results
|
||||
# we don't really need any artifacts - we are only interested in visual screenshots
|
||||
- store-npm-logs
|
||||
|
||||
reporter-integration-tests:
|
||||
<<: *defaults
|
||||
steps:
|
||||
@@ -1810,6 +1831,9 @@ linux-workflow: &linux-workflow
|
||||
- desktop-gui-integration-tests-2x:
|
||||
requires:
|
||||
- build
|
||||
- desktop-gui-component-tests:
|
||||
requires:
|
||||
- build
|
||||
- reporter-integration-tests:
|
||||
requires:
|
||||
- build
|
||||
@@ -1870,6 +1894,7 @@ linux-workflow: &linux-workflow
|
||||
- ui-components-integration-tests
|
||||
- reporter-integration-tests
|
||||
- Linux lint
|
||||
- desktop-gui-component-tests
|
||||
- desktop-gui-integration-tests-2x
|
||||
- runner-ct-integration-tests-chrome
|
||||
- runner-integration-tests-firefox
|
||||
|
||||
Reference in New Issue
Block a user