@@ -2,7 +2,6 @@ version: 2.1
2
2
orbs :
3
3
cypress :
cypress-io/[email protected]
4
4
codecov :
codecov/[email protected] #
5
-
6
5
7
6
executors :
8
7
with-chrome-and-firefox :
@@ -29,8 +28,6 @@ commands:
29
28
paths :
30
29
# for linux builds
31
30
- .cache/Cypress
32
- # for windows builds
33
- - AppData/Local/Cypress/Cache
34
31
- project
35
32
root : ~/
36
33
attach_ws :
@@ -42,20 +39,6 @@ commands:
42
39
- run :
43
40
name : Install curl
44
41
command : apt-get update && apt-get install -y curl
45
- # Setup Windows
46
- # 1. Add nvm and install node 18.16.0
47
- # 2. Install yarn
48
- setup_node_and_yarn_windows :
49
- steps :
50
- - run :
51
- name : Install node 18
52
- command : nvm install 18.16.0
53
- - run :
54
- name : Use node 18
55
- command : nvm use 18.16.0
56
- - run :
57
- name : Install yarn
58
- command : npm i --location=global yarn
59
42
# Setup
60
43
# 1. Install Cypress
61
44
# 2. Validate types
@@ -151,19 +134,6 @@ jobs:
151
134
executor : with-chrome-and-firefox
152
135
steps :
153
136
- setup_project_and_cypress
154
- setup_project_and_cypress_windows :
155
- executor :
156
- # executor comes from the "windows" orb
157
- name : win/default
158
- shell : bash.exe
159
- size : large
160
- steps :
161
- - setup_node_and_yarn_windows
162
- - run :
163
- name : Disabling Windows Defender
164
- shell : powershell.exe
165
- command : Set-MpPreference -DisableRealtimeMonitoring $true
166
- - setup_project_and_cypress
167
137
cypress_tests_linux :
168
138
executor : with-chrome-and-firefox
169
139
parallelism : 5
@@ -197,38 +167,6 @@ jobs:
197
167
isMobile : <<parameters.isMobile>>
198
168
isComponent : <<parameters.isComponent>>
199
169
recordPercy : <<parameters.recordPercy>>
200
- cypress_tests_windows :
201
- executor :
202
- # executor comes from the "windows" orb
203
- name : win/default
204
- shell : bash.exe
205
- parallelism : 5
206
- parameters :
207
- browser :
208
- type : string
209
- default : chrome
210
- specPattern :
211
- type : string
212
- default : " "
213
- ciBuildId :
214
- type : string
215
- group :
216
- type : string
217
- isMobile :
218
- type : boolean
219
- default : false
220
- isComponent :
221
- type : boolean
222
- default : false
223
- steps :
224
- - setup_node_and_yarn_windows
225
- - cypress_tests :
226
- browser : <<parameters.browser>>
227
- specPattern : <<parameters.specPattern>>
228
- ciBuildId : <<parameters.ciBuildId>>
229
- group : <<parameters.group>>
230
- isMobile : <<parameters.isMobile>>
231
- isComponent : <<parameters.isComponent>>
232
170
233
171
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Workflows ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #
234
172
linux-workflow : &linux-workflow
@@ -291,22 +229,6 @@ linux-workflow: &linux-workflow
291
229
requires :
292
230
- Setup Linux
293
231
294
- windows-workflow : &windows-workflow
295
- jobs :
296
- - setup_project_and_cypress_windows :
297
- name : " Setup Windows"
298
- # Run E2E tests in Windows in Electron
299
- - cypress_tests_windows :
300
- name : " UI Tests - Electron - Windows"
301
- browser : electron
302
- specPattern : " cypress/tests/ui/*"
303
- ciBuildId : ${CIRCLE_SHA1:0:8}
304
- group : " UI - Electron - Windows"
305
- requires :
306
- - Setup Windows
307
-
308
232
workflows :
309
233
linux :
310
234
<< : *linux-workflow
311
- windows :
312
- << : *windows-workflow
0 commit comments