@@ -138,40 +138,40 @@ workflows:
138
138
- new-cypress-config/use-webpack
139
139
140
140
- cypress/run :
141
- name : Windows test
142
- executor :
143
- # executor comes from the "windows" orb
144
- name : win/default
145
- shell : bash.exe
146
- no-workspace : true
147
- start : npm run start:windows --prefix examples/old-cypress-config/all-files
148
- wait-on : ' http://localhost:1234'
149
- command : ../node_modules/.bin/cypress run
150
- # store screenshots and videos
151
- store_artifacts : true
152
- post-steps :
153
- - run : cat examples/old-cypress-config/all-files/.nyc_output/out.json
154
- - run : cat examples/old-cypress-config/all-files/coverage/coverage-final.json
155
- # store the created coverage report folder
156
- # you can click on it in the CircleCI UI
157
- # to see live static HTML site
158
- - store_artifacts :
159
- path : examples/old-cypress-config/all-files/coverage
160
- # make sure the examples captures 100% of code
161
- - run :
162
- command : npx nyc report --check-coverage true --lines 100
163
- working_directory : examples/old-cypress-config/all-files
164
- - run :
165
- name : Check code coverage 📈
166
- # we will check the final coverage report
167
- # to make sure it only has files we are interested in
168
- # because there are files covered at 0 in the report
169
- command : |
170
- ../../node_modules/.bin/check-coverage main.js
171
- ../../node_modules/.bin/check-coverage second.js
172
- ../../node_modules/.bin/check-coverage not-covered.js
173
- ../../node_modules/.bin/only-covered --from coverage/coverage-final.json main.js second.js not-covered.js
174
- working_directory : examples/old-cypress-config/all-files
141
+ name : Windows test
142
+ executor :
143
+ # executor comes from the "windows" orb
144
+ name : win/default
145
+ shell : bash.exe
146
+ no-workspace : true
147
+ start : npm run start:windows --prefix examples/old-cypress-config/all-files
148
+ wait-on : ' http://localhost:1234'
149
+ command : ../node_modules/.bin/cypress run
150
+ # store screenshots and videos
151
+ store_artifacts : true
152
+ post-steps :
153
+ - run : cat examples/old-cypress-config/all-files/.nyc_output/out.json
154
+ - run : cat examples/old-cypress-config/all-files/coverage/coverage-final.json
155
+ # store the created coverage report folder
156
+ # you can click on it in the CircleCI UI
157
+ # to see live static HTML site
158
+ - store_artifacts :
159
+ path : examples/old-cypress-config/all-files/coverage
160
+ # make sure the examples captures 100% of code
161
+ - run :
162
+ command : npx nyc report --check-coverage true --lines 100
163
+ working_directory : examples/old-cypress-config/all-files
164
+ - run :
165
+ name : Check code coverage 📈
166
+ # we will check the final coverage report
167
+ # to make sure it only has files we are interested in
168
+ # because there are files covered at 0 in the report
169
+ command : |
170
+ ../../node_modules/.bin/check-coverage main.js
171
+ ../../node_modules/.bin/check-coverage second.js
172
+ ../../node_modules/.bin/check-coverage not-covered.js
173
+ ../../node_modules/.bin/only-covered --from coverage/coverage-final.json main.js second.js not-covered.js
174
+ working_directory : examples/old-cypress-config/all-files
175
175
176
176
- publish :
177
177
filters :
@@ -184,30 +184,30 @@ workflows:
184
184
requires :
185
185
- lint
186
186
- test-code-coverage-plugin
187
- - old-cypress-config/all-files
188
- - old-cypress-config/backend
189
- - old-cypress-config/before-all-visit
190
- - old-cypress-config/before-each-visit
191
- - old-cypress-config/exclude-files
192
- - old-cypress-config/frontend
193
- - old-cypress-config/fullstack
194
- - old-cypress-config/one-spec
195
- - old-cypress-config/same-folder
196
- - old-cypress-config/support-files
197
- - old-cypress-config/ts-example
198
- - old-cypress-config/unit-tests-js
199
- - old-cypress-config/use-webpack
200
- - new-cypress-config/all-files
201
- - new-cypress-config/backend
202
- - new-cypress-config/before-all-visit
203
- - new-cypress-config/before-each-visit
204
- - new-cypress-config/exclude-files
205
- - new-cypress-config/frontend
206
- - new-cypress-config/fullstack
207
- - new-cypress-config/one-spec
208
- - new-cypress-config/same-folder
209
- - new-cypress-config/support-files
210
- - new-cypress-config/ts-example
211
- - new-cypress-config/unit-tests-js
212
- - new-cypress-config/use-webpack
187
+ - test- old-cypress-config/all-files
188
+ - test- old-cypress-config/backend
189
+ - test- old-cypress-config/before-all-visit
190
+ - test- old-cypress-config/before-each-visit
191
+ - test- old-cypress-config/exclude-files
192
+ - test- old-cypress-config/frontend
193
+ - test- old-cypress-config/fullstack
194
+ - test- old-cypress-config/one-spec
195
+ - test- old-cypress-config/same-folder
196
+ - test- old-cypress-config/support-files
197
+ - test- old-cypress-config/ts-example
198
+ - test- old-cypress-config/unit-tests-js
199
+ - test- old-cypress-config/use-webpack
200
+ - test- new-cypress-config/all-files
201
+ - test- new-cypress-config/backend
202
+ - test- new-cypress-config/before-all-visit
203
+ - test- new-cypress-config/before-each-visit
204
+ - test- new-cypress-config/exclude-files
205
+ - test- new-cypress-config/frontend
206
+ - test- new-cypress-config/fullstack
207
+ - test- new-cypress-config/one-spec
208
+ - test- new-cypress-config/same-folder
209
+ - test- new-cypress-config/support-files
210
+ - test- new-cypress-config/ts-example
211
+ - test- new-cypress-config/unit-tests-js
212
+ - test- new-cypress-config/use-webpack
213
213
- Windows test
0 commit comments