@@ -28,7 +28,7 @@ mainBuildFilters: &mainBuildFilters
28
28
only :
29
29
- develop
30
30
- /^release\/\d+\.\d+\.\d+$/
31
- - ' macOS-launch-arm-browser '
31
+ - ' mschile/chrome_memory_fix '
32
32
33
33
# usually we don't build Mac app - it takes a long time
34
34
# but sometimes we want to really confirm we are doing the right thing
@@ -37,15 +37,16 @@ macWorkflowFilters: &darwin-workflow-filters
37
37
when :
38
38
or :
39
39
- equal : [ develop, << pipeline.git.branch >> ]
40
- - equal : [ 'macOS-launch-arm-browser ', << pipeline.git.branch >> ]
40
+ - equal : [ 'mschile/chrome_memory_fix ', << pipeline.git.branch >> ]
41
41
- matches :
42
42
pattern : /^release\/\d+\.\d+\.\d+$/
43
43
value : << pipeline.git.branch >>
44
+
44
45
linuxArm64WorkflowFilters : &linux-arm64-workflow-filters
45
46
when :
46
47
or :
47
48
- equal : [ develop, << pipeline.git.branch >> ]
48
- - equal : [ 'macOS-launch-arm-browser ', << pipeline.git.branch >> ]
49
+ - equal : [ 'mschile/chrome_memory_fix ', << pipeline.git.branch >> ]
49
50
- matches :
50
51
pattern : /^release\/\d+\.\d+\.\d+$/
51
52
value : << pipeline.git.branch >>
@@ -63,7 +64,7 @@ windowsWorkflowFilters: &windows-workflow-filters
63
64
when :
64
65
or :
65
66
- equal : [ develop, << pipeline.git.branch >> ]
66
- - equal : [ 'retry-flake ', << pipeline.git.branch >> ]
67
+ - equal : [ 'mschile/chrome_memory_fix ', << pipeline.git.branch >> ]
67
68
- matches :
68
69
pattern : /^release\/\d+\.\d+\.\d+$/
69
70
value : << pipeline.git.branch >>
@@ -92,7 +93,7 @@ executors:
92
93
mac :
93
94
macos :
94
95
# Executor should have Node >= required version
95
- xcode : " 14.0.0 "
96
+ xcode : " 14.0.1 "
96
97
resource_class : macos.x86.medium.gen2
97
98
environment :
98
99
PLATFORM : darwin
@@ -129,7 +130,7 @@ commands:
129
130
- run :
130
131
name : Check current branch to persist artifacts
131
132
command : |
132
- if [[ "$CIRCLE_BRANCH" != "develop" && "$CIRCLE_BRANCH" != "release/"* && "$CIRCLE_BRANCH" != "macOS-launch-arm-browser " ]]; then
133
+ if [[ "$CIRCLE_BRANCH" != "develop" && "$CIRCLE_BRANCH" != "release/"* && "$CIRCLE_BRANCH" != "mschile/chrome_memory_fix " ]]; then
133
134
echo "Not uploading artifacts or posting install comment for this branch."
134
135
circleci-agent step halt
135
136
fi
@@ -1357,6 +1358,40 @@ jobs:
1357
1358
path : /tmp/cypress
1358
1359
- store-npm-logs
1359
1360
1361
+ driver-integration-memory-tests :
1362
+ << : *defaults
1363
+ parameters :
1364
+ << : *defaultsParameters
1365
+ resource_class :
1366
+ type : string
1367
+ default : medium
1368
+ resource_class : << parameters.resource_class >>
1369
+ parallelism : 1
1370
+ steps :
1371
+ - restore_cached_workspace
1372
+ - run :
1373
+ name : Driver memory tests in Electron
1374
+ environment :
1375
+ CYPRESS_CONFIG_ENV : production
1376
+ command : |
1377
+ echo Current working directory is $PWD
1378
+ node --version
1379
+ if [[ `node ../../scripts/get-platform-key.js` == 'linux-arm64' ]]; then
1380
+ # these are missing on Circle and there is no way to pre-install them on Arm
1381
+ sudo apt-get update
1382
+ sudo apt-get install -y libgbm-dev
1383
+ fi
1384
+
1385
+ CYPRESS_INTERNAL_MEMORY_SAVE_STATS=true \
1386
+ DEBUG=cypress*memory \
1387
+ yarn cypress:run --browser electron --spec "cypress/e2e/memory/*.cy.*"
1388
+ working_directory : packages/driver
1389
+ - store_test_results :
1390
+ path : /tmp/cypress
1391
+ - store-npm-logs
1392
+ - store_artifacts :
1393
+ path : packages/driver/cypress/logs/memory
1394
+
1360
1395
unit-tests :
1361
1396
<< : *defaults
1362
1397
parameters :
@@ -1397,14 +1432,17 @@ jobs:
1397
1432
path : packages/errors/__snapshot-images__
1398
1433
- store-npm-logs
1399
1434
1400
- unit-tests- release :
1435
+ verify- release-readiness :
1401
1436
<< : *defaults
1402
1437
resource_class : small
1403
1438
parallelism : 1
1439
+ environment :
1440
+ GITHUB_TOKEN : $GH_TOKEN
1404
1441
steps :
1405
1442
- restore_cached_workspace
1406
1443
- update_known_hosts
1407
1444
- run : yarn test-npm-package-release-script
1445
+ - run : node ./scripts/semantic-commits/validate-binary-changelog.js
1408
1446
1409
1447
lint-types :
1410
1448
<< : *defaults
@@ -1740,31 +1778,6 @@ jobs:
1740
1778
- run :
1741
1779
name : Build
1742
1780
command : yarn workspace @cypress/webpack-preprocessor build
1743
- - run :
1744
- name : Test babelrc
1745
- command : yarn test
1746
- working_directory : npm/webpack-preprocessor/examples/use-babelrc
1747
- - run :
1748
- name : Build ts-loader
1749
- command : yarn install
1750
- working_directory : npm/webpack-preprocessor/examples/use-ts-loader
1751
- - run :
1752
- name : Types ts-loader
1753
- command : yarn types
1754
- working_directory : npm/webpack-preprocessor/examples/use-ts-loader
1755
- - run :
1756
- name : Test ts-loader
1757
- command : yarn test
1758
- working_directory : npm/webpack-preprocessor/examples/use-ts-loader
1759
- - run :
1760
- name : Start React app
1761
- command : yarn start
1762
- background : true
1763
- working_directory : npm/webpack-preprocessor/examples/react-app
1764
- - run :
1765
- name : Test React app
1766
- command : yarn test
1767
- working_directory : npm/webpack-preprocessor/examples/react-app
1768
1781
- run :
1769
1782
name : Run tests
1770
1783
command : yarn workspace @cypress/webpack-preprocessor test
@@ -2364,7 +2377,7 @@ linux-x64-workflow: &linux-x64-workflow
2364
2377
- unit-tests :
2365
2378
requires :
2366
2379
- build
2367
- - unit-tests- release :
2380
+ - verify- release-readiness :
2368
2381
context : test-runner:npm-release
2369
2382
requires :
2370
2383
- build
@@ -2422,6 +2435,9 @@ linux-x64-workflow: &linux-x64-workflow
2422
2435
context : test-runner:cypress-record-key
2423
2436
requires :
2424
2437
- build
2438
+ - driver-integration-memory-tests :
2439
+ requires :
2440
+ - build
2425
2441
- run-frontend-shared-component-tests-chrome :
2426
2442
context : [test-runner:cypress-record-key, test-runner:launchpad-tests, test-runner:percy]
2427
2443
percy : true
@@ -2535,7 +2551,7 @@ linux-x64-workflow: &linux-x64-workflow
2535
2551
- server-unit-tests
2536
2552
- test-kitchensink
2537
2553
- unit-tests
2538
- - unit-tests- release
2554
+ - verify- release-readiness
2539
2555
- cli-visual-tests
2540
2556
- reporter-integration-tests
2541
2557
- run-app-component-tests-chrome
@@ -2548,6 +2564,12 @@ linux-x64-workflow: &linux-x64-workflow
2548
2564
- run-vite-dev-server-integration-tests
2549
2565
- v8-integration-tests
2550
2566
2567
+ - create-build-artifacts :
2568
+ context :
2569
+ - test-runner:upload
2570
+ - test-runner:commit-status-checks
2571
+ requires :
2572
+ - build
2551
2573
# various testing scenarios, like building full binary
2552
2574
# and testing it on a real project
2553
2575
- test-against-staging :
@@ -2563,12 +2585,6 @@ linux-x64-workflow: &linux-x64-workflow
2563
2585
<< : *mainBuildFilters
2564
2586
requires :
2565
2587
- build
2566
- - create-build-artifacts :
2567
- context :
2568
- - test-runner:upload
2569
- - test-runner:commit-status-checks
2570
- requires :
2571
- - build
2572
2588
- test-npm-module-on-minimum-node-version :
2573
2589
requires :
2574
2590
- create-build-artifacts
@@ -2663,6 +2679,12 @@ linux-arm64-workflow: &linux-arm64-workflow
2663
2679
resource_class : arm.medium
2664
2680
requires :
2665
2681
- linux-arm64-build
2682
+ - driver-integration-memory-tests :
2683
+ name : linux-arm64-driver-integration-memory-tests
2684
+ executor : linux-arm64
2685
+ resource_class : arm.medium
2686
+ requires :
2687
+ - linux-arm64-build
2666
2688
2667
2689
darwin-x64-workflow : &darwin-x64-workflow
2668
2690
jobs :
@@ -2703,6 +2725,12 @@ darwin-x64-workflow: &darwin-x64-workflow
2703
2725
resource_class : macos.x86.medium.gen2
2704
2726
requires :
2705
2727
- darwin-x64-build
2728
+ - driver-integration-memory-tests :
2729
+ name : darwin-x64-driver-integration-memory-tests
2730
+ executor : mac
2731
+ resource_class : macos.x86.medium.gen2
2732
+ requires :
2733
+ - darwin-x64-build
2706
2734
2707
2735
darwin-arm64-workflow : &darwin-arm64-workflow
2708
2736
jobs :
@@ -2736,6 +2764,12 @@ darwin-arm64-workflow: &darwin-arm64-workflow
2736
2764
resource_class : cypress-io/latest_m1
2737
2765
requires :
2738
2766
- darwin-arm64-build
2767
+ - driver-integration-memory-tests :
2768
+ name : darwin-arm64-driver-integration-memory-tests
2769
+ executor : darwin-arm64
2770
+ resource_class : cypress-io/latest_m1
2771
+ requires :
2772
+ - darwin-arm64-build
2739
2773
2740
2774
windows-workflow : &windows-workflow
2741
2775
jobs :
@@ -2798,6 +2832,12 @@ windows-workflow: &windows-workflow
2798
2832
resource_class : windows.large
2799
2833
requires :
2800
2834
- windows-build
2835
+ - driver-integration-memory-tests :
2836
+ name : windows-driver-integration-memory-tests
2837
+ executor : windows
2838
+ resource_class : windows.large
2839
+ requires :
2840
+ - windows-build
2801
2841
2802
2842
workflows :
2803
2843
linux-x64 :
0 commit comments