Skip to content
This repository was archived by the owner on May 20, 2024. It is now read-only.

Commit e64be6a

Browse files
authored
bump code coverage plugin (#226)
1 parent 0f4d70f commit e64be6a

File tree

3 files changed

+41
-13
lines changed

3 files changed

+41
-13
lines changed

circle.yml

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,35 @@ version: 2.1
33
orbs:
44
cypress: cypress-io/cypress@1
55
workflows:
6-
build:
6+
# a separate workflow to confirm
7+
# an older version of Cypress still works
8+
test-previous-cypress:
9+
jobs:
10+
- cypress/run:
11+
name: 'Cypress v6.0.0'
12+
yarn: true
13+
executor: cypress/base-12-14-0
14+
post-checkout:
15+
- run: yarn add -D cypress@6.0.0
16+
# we need to start the web application
17+
start: npm start
18+
command: NODE_ENV=test npm run cypress:run
19+
# there are no jobs to follow this one
20+
# so no need to save the workspace files (saves time)
21+
no-workspace: true
22+
# verify the collected code coverage
23+
post-steps:
24+
# store the created coverage report folder
25+
# you can click on it in the CircleCI UI
26+
# to see live static HTML site
27+
- store_artifacts:
28+
path: coverage
29+
# show code coverage numbers
30+
- run: npm run report:coverage:summary
31+
- run: npm run report:coverage:text
32+
33+
# testing the currently installed Cypress version
34+
test-current-cypress:
735
jobs:
836
- cypress/install:
937
name: Install
@@ -44,7 +72,6 @@ workflows:
4472
command: npx cypress run --config-file cypress-unit.json
4573
no-workspace: true
4674

47-
4875
- cypress/run:
4976
name: smoke tests
5077
executor: cypress/base-12-14-0

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"devDependencies": {
3939
"@babel/core": "7.13.13",
4040
"@babel/preset-react": "7.13.13",
41-
"@cypress/code-coverage": "3.9.2",
41+
"@cypress/code-coverage": "3.9.4",
4242
"babel-plugin-istanbul": "6.0.0",
4343
"babel-plugin-transform-class-properties": "6.24.1",
4444
"coveralls": "3.1.0",

yarn.lock

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1485,15 +1485,16 @@
14851485
js-yaml "3.14.0"
14861486
nyc "15.1.0"
14871487

1488-
"@cypress/code-coverage@3.9.2":
1489-
version "3.9.2"
1490-
resolved "https://registry.yarnpkg.com/@cypress/code-coverage/-/code-coverage-3.9.2.tgz#582cdb3a7858b3ecf294933b043d0bc236ce0bd9"
1491-
integrity sha512-YnzkRBxdsY/Ek/68nr+MowqW59UJsd28j10mFOerW/wrSkuxGrWvOldMs8Y4tU70L4fgd4wDPqGGMer3+UzbwA==
1488+
"@cypress/code-coverage@3.9.4":
1489+
version "3.9.4"
1490+
resolved "https://registry.yarnpkg.com/@cypress/code-coverage/-/code-coverage-3.9.4.tgz#1e82b7061d7b136a99b464e2730d4cf40167bac9"
1491+
integrity sha512-mFUl1MmfqeQe08eONKnAv9uWXRVW2RprqaYf3lJkI5tEhEAP+I9zB+cmjQWKe15vfmadKxqaLStVNYLM0rpYGA==
14921492
dependencies:
14931493
"@cypress/browserify-preprocessor" "3.0.1"
1494+
dayjs "1.10.4"
14941495
debug "4.3.1"
14951496
execa "4.1.0"
1496-
globby "11.0.2"
1497+
globby "11.0.3"
14971498
istanbul-lib-coverage "3.0.0"
14981499
js-yaml "3.14.1"
14991500
nyc "15.1.0"
@@ -3329,7 +3330,7 @@ date-fns@^1.27.2:
33293330
resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-1.30.1.tgz#2e71bf0b119153dbb4cc4e88d9ea5acfb50dc05c"
33303331
integrity sha512-hBSVCvSmWC+QypYObzwGOd9wqdDpOt+0wl0KbU+R+uuZBS1jN8VsD1ss3irQDknRj5NvxiTF6oj/nDRnN/UQNw==
33313332

3332-
dayjs@^1.9.3:
3333+
dayjs@1.10.4, dayjs@^1.9.3:
33333334
version "1.10.4"
33343335
resolved "https://registry.yarnpkg.com/dayjs/-/dayjs-1.10.4.tgz#8e544a9b8683f61783f570980a8a80eaf54ab1e2"
33353336
integrity sha512-RI/Hh4kqRc1UKLOAf/T5zdMMX5DQIlDxwUe3wSyMMnEbGunnpENCdbUgM+dW7kXidZqCttBrmw7BhN4TMddkCw==
@@ -4323,10 +4324,10 @@ globby@11.0.1:
43234324
merge2 "^1.3.0"
43244325
slash "^3.0.0"
43254326

4326-
globby@11.0.2:
4327-
version "11.0.2"
4328-
resolved "https://registry.yarnpkg.com/globby/-/globby-11.0.2.tgz#1af538b766a3b540ebfb58a32b2e2d5897321d83"
4329-
integrity sha512-2ZThXDvvV8fYFRVIxnrMQBipZQDr7MxKAmQK1vujaj9/7eF0efG7BPUKJ7jP7G5SLF37xKDXvO4S/KKLj/Z0og==
4327+
globby@11.0.3:
4328+
version "11.0.3"
4329+
resolved "https://registry.yarnpkg.com/globby/-/globby-11.0.3.tgz#9b1f0cb523e171dd1ad8c7b2a9fb4b644b9593cb"
4330+
integrity sha512-ffdmosjA807y7+lA1NM0jELARVmYul/715xiILEjo3hBLPTcirgQNnXECn5g3mtR8TOLCVbkfua1Hpen25/Xcg==
43304331
dependencies:
43314332
array-union "^2.1.0"
43324333
dir-glob "^3.0.1"

0 commit comments

Comments
 (0)