Skip to content

Commit 8a952b0

Browse files
committed
add docker paths example to circleci
1 parent 7c37d8a commit 8a952b0

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.circleci/config.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,30 @@ workflows:
194194
../../node_modules/.bin/only-covered main.js
195195
working_directory: examples/before-all-visit
196196

197+
- cypress/run:
198+
attach-workspace: true
199+
name: example-docker-paths
200+
requires:
201+
- cypress/install
202+
# there are no jobs to follow this one
203+
# so no need to save the workspace files (saves time)
204+
no-workspace: true
205+
working_directory: examples/docker-paths
206+
command: '../../node_modules/.bin/cypress run'
207+
post-steps:
208+
# store the created coverage report folder
209+
# you can click on it in the CircleCI UI
210+
# to see live static HTML site
211+
- store_artifacts:
212+
path: examples/docker-paths/coverage
213+
- run:
214+
name: Check code coverage 📈
215+
command: |
216+
../../node_modules/.bin/check-coverage main.js
217+
../../node_modules/.bin/check-coverage second.js
218+
../../node_modules/.bin/only-covered main.js second.js
219+
working_directory: examples/docker-paths
220+
197221
- cypress/run:
198222
attach-workspace: true
199223
name: example-ts-example
@@ -395,3 +419,4 @@ workflows:
395419
- example-use-plugins-and-support
396420
- example-one-spec
397421
- example-exclude-files
422+
- example-docker-paths

0 commit comments

Comments
 (0)