@@ -76,7 +76,7 @@ windowsWorkflowFilters: &windows-workflow-filters
76
76
- equal : [ develop, << pipeline.git.branch >> ]
77
77
# use the following branch as well to ensure that v8 snapshot cache updates are fully tested
78
78
- equal : [ 'update-v8-snapshot-cache-on-develop', << pipeline.git.branch >> ]
79
- - equal : [ 'misc/remove_marionette_for_geckodriver ', << pipeline.git.branch >> ]
79
+ - equal : [ 'chore/patch_windows_build ', << pipeline.git.branch >> ]
80
80
- matches :
81
81
pattern : /^release\/\d+\.\d+\.\d+$/
82
82
value : << pipeline.git.branch >>
@@ -623,6 +623,9 @@ commands:
623
623
browser :
624
624
description : browser shortname to target
625
625
type : string
626
+ executor :
627
+ description : the executor in use. Only used if Windows for workaround purposes
628
+ type : executor
626
629
percy :
627
630
description : enable percy
628
631
type : boolean
@@ -637,6 +640,16 @@ commands:
637
640
default : ' '
638
641
steps :
639
642
- restore_cached_workspace
643
+ # this is a temporary work around while we wait for circle to resolve issues with packages
644
+ # with an @ character in windows during save_cache.
645
+ # @see https://github.com/cypress-io/cypress/issues/30343 for more details.
646
+ - when :
647
+ condition :
648
+ equal : [ *windows-executor, << parameters.executor >> ]
649
+ steps :
650
+ - run :
651
+ name : reinstall dependencies to work around cache issue (Windows only)
652
+ command : rm -rf node_modules && yarn
640
653
- windows-install-chrome :
641
654
browser : <<parameters.browser>>
642
655
- run :
@@ -1370,6 +1383,16 @@ jobs:
1370
1383
resource_class : << parameters.resource_class >>
1371
1384
steps :
1372
1385
- restore_cached_workspace
1386
+ # this is a temporary work around while we wait for circle to resolve issues with packages
1387
+ # with an @ character in windows during save_cache.
1388
+ # @see https://github.com/cypress-io/cypress/issues/30343 for more details.
1389
+ - when :
1390
+ condition :
1391
+ equal : [ *windows-executor, << parameters.executor >> ]
1392
+ steps :
1393
+ - run :
1394
+ name : reinstall dependencies to work around cache issue (Windows only)
1395
+ command : rm -rf node_modules && yarn
1373
1396
- run :
1374
1397
name : Top level packages
1375
1398
command : yarn list --depth=0 || true
@@ -1483,6 +1506,16 @@ jobs:
1483
1506
steps :
1484
1507
- restore_cached_workspace
1485
1508
- restore_cached_system_tests_deps
1509
+ # this is a temporary work around while we wait for circle to resolve issues with packages
1510
+ # with an @ character in windows during save_cache.
1511
+ # @see https://github.com/cypress-io/cypress/issues/30343 for more details.
1512
+ - when :
1513
+ condition :
1514
+ equal : [ *windows-executor, << parameters.executor >> ]
1515
+ steps :
1516
+ - run :
1517
+ name : reinstall dependencies to work around cache issue (Windows only)
1518
+ command : rm -rf node_modules && yarn
1486
1519
# TODO: Remove this once we switch off self-hosted M1 runners
1487
1520
- when :
1488
1521
condition :
@@ -1528,6 +1561,16 @@ jobs:
1528
1561
parallelism : 1
1529
1562
steps :
1530
1563
- restore_cached_workspace
1564
+ # this is a temporary work around while we wait for circle to resolve issues with packages
1565
+ # with an @ character in windows during save_cache.
1566
+ # @see https://github.com/cypress-io/cypress/issues/30343 for more details.
1567
+ - when :
1568
+ condition :
1569
+ equal : [ *windows-executor, << parameters.executor >> ]
1570
+ steps :
1571
+ - run :
1572
+ name : reinstall dependencies to work around cache issue (Windows only)
1573
+ command : rm -rf node_modules && yarn
1531
1574
- run :
1532
1575
name : Driver memory tests in Electron
1533
1576
environment :
@@ -1648,6 +1691,16 @@ jobs:
1648
1691
equal : [ *darwin-arm64-executor, << parameters.executor >> ]
1649
1692
steps :
1650
1693
- run : rm -f /tmp/cypress/junit/*
1694
+ # this is a temporary work around while we wait for circle to resolve issues with packages
1695
+ # with an @ character in windows during save_cache.
1696
+ # @see https://github.com/cypress-io/cypress/issues/30343 for more details.
1697
+ - when :
1698
+ condition :
1699
+ equal : [ *windows-executor, << parameters.executor >> ]
1700
+ steps :
1701
+ - run :
1702
+ name : reinstall dependencies to work around cache issue (Windows only)
1703
+ command : rm -rf node_modules && yarn
1651
1704
- run : yarn workspace @packages/server test-unit cloud/environment_spec.ts
1652
1705
- verify-mocha-results :
1653
1706
expectedResultCount : 1
@@ -1793,6 +1846,7 @@ jobs:
1793
1846
steps :
1794
1847
- run-new-ui-tests :
1795
1848
browser : chrome
1849
+ executor : << parameters.executor >>
1796
1850
percy : << parameters.percy >>
1797
1851
package : frontend-shared
1798
1852
type : ct
@@ -1808,6 +1862,7 @@ jobs:
1808
1862
steps :
1809
1863
- run-new-ui-tests :
1810
1864
browser : chrome
1865
+ executor : << parameters.executor >>
1811
1866
percy : << parameters.percy >>
1812
1867
package : launchpad
1813
1868
type : ct
@@ -1828,6 +1883,7 @@ jobs:
1828
1883
steps :
1829
1884
- run-new-ui-tests :
1830
1885
browser : chrome
1886
+ executor : << parameters.executor >>
1831
1887
percy : << parameters.percy >>
1832
1888
package : launchpad
1833
1889
type : e2e
@@ -1846,6 +1902,7 @@ jobs:
1846
1902
steps :
1847
1903
- run-new-ui-tests :
1848
1904
browser : chrome
1905
+ executor : << parameters.executor >>
1849
1906
percy : << parameters.percy >>
1850
1907
package : app
1851
1908
type : ct
@@ -1865,6 +1922,7 @@ jobs:
1865
1922
steps :
1866
1923
- run-new-ui-tests :
1867
1924
browser : chrome
1925
+ executor : << parameters.executor >>
1868
1926
percy : << parameters.percy >>
1869
1927
package : app
1870
1928
type : e2e
@@ -1921,6 +1979,7 @@ jobs:
1921
1979
steps :
1922
1980
- run-new-ui-tests :
1923
1981
browser : chrome
1982
+ executor : << parameters.executor >>
1924
1983
percy : << parameters.percy >>
1925
1984
package : reporter
1926
1985
type : ct
@@ -2203,6 +2262,16 @@ jobs:
2203
2262
resource_class : << parameters.resource_class >>
2204
2263
steps :
2205
2264
- restore_cached_workspace
2265
+ # this is a temporary work around while we wait for circle to resolve issues with packages
2266
+ # with an @ character in windows during save_cache.
2267
+ # @see https://github.com/cypress-io/cypress/issues/30343 for more details.
2268
+ - when :
2269
+ condition :
2270
+ equal : [ *windows-executor, << parameters.executor >> ]
2271
+ steps :
2272
+ - run :
2273
+ name : reinstall dependencies to work around cache issue (Windows only)
2274
+ command : rm -rf node_modules && yarn
2206
2275
- check-if-binary-exists
2207
2276
- build-and-package-binary
2208
2277
- build-cypress-npm-package :
0 commit comments