File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,25 @@ workflows:
68
68
# and look at the server index file - should be fully covered
69
69
- run : npx nyc report --check-coverage true --lines 100 --include test-backend/index.js
70
70
71
+ - cypress/run :
72
+ name : example-before-each-visit
73
+ requires :
74
+ - cypress/install
75
+ # there are no jobs to follow this one
76
+ # so no need to save the workspace files (saves time)
77
+ no-workspace : true
78
+ working_directory : examples/before-each-visit
79
+ post-steps :
80
+ # store the created coverage report folder
81
+ # you can click on it in the CircleCI UI
82
+ # to see live static HTML site
83
+ - store_artifacts :
84
+ path : examples/before-each-visit/coverage
85
+ # make sure the examples captures 100% of code
86
+ - run :
87
+ command : npx nyc report --check-coverage true --lines 100
88
+ working_directory : examples/before-each-visit
89
+
71
90
- publish :
72
91
filters :
73
92
branches :
@@ -76,3 +95,4 @@ workflows:
76
95
requires :
77
96
- frontend coverage
78
97
- backend coverage
98
+ - example-before-each-visit
You can’t perform that action at this time.
0 commit comments