Skip to content

Commit 4df4b35

Browse files
authored
Merge pull request #114 from LeetCode-OpenSource/migrate-to-codecov
Migrate to codecov
2 parents 4ebd917 + d122ef5 commit 4df4b35

File tree

5 files changed

+94
-27
lines changed

5 files changed

+94
-27
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ jobs:
3838
- run: yarn lint
3939
- run: yarn test
4040
- run:
41-
name: test-coverage
42-
command: cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
41+
name: report-coverage
42+
command: npx codecov -f coverage/*.json
4343

4444
deploy:
4545
<<: *defaults
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
2+
name: Dependabot auto merge
3+
4+
on:
5+
check_suite:
6+
types:
7+
- completed
8+
pull_request:
9+
types:
10+
- labeled
11+
- unlabeled
12+
- synchronize
13+
- opened
14+
- edited
15+
- ready_for_review
16+
- reopened
17+
- unlocked
18+
19+
jobs:
20+
auto-merge:
21+
runs-on: ubuntu-latest
22+
steps:
23+
- name: auto-merge
24+
uses: ridedott/dependabot-auto-merge-action@master
25+
with:
26+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# React hooks for RxJS
22
[![CircleCI](https://circleci.com/gh/LeetCode-OpenSource/rxjs-hooks.svg?style=svg)](https://circleci.com/gh/LeetCode-OpenSource/rxjs-hooks)
3-
[![Coverage Status](https://coveralls.io/repos/github/LeetCode-OpenSource/rxjs-hooks/badge.svg?branch=master)](https://coveralls.io/github/LeetCode-OpenSource/rxjs-hooks?branch=master)
3+
[![codecov](https://codecov.io/gh/LeetCode-OpenSource/rxjs-hooks/branch/master/graph/badge.svg)](https://codecov.io/gh/LeetCode-OpenSource/rxjs-hooks)
44

55
- [Installation](#installation)
66
- [Demo](#quick-look)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"@types/sinon": "^7.5.1",
2929
"@types/sinon-chai": "^3.2.3",
3030
"@types/webpack": "^4.41.0",
31-
"coveralls": "^3.0.9",
31+
"codecov": "^3.6.1",
3232
"fork-ts-checker-webpack-plugin": "^3.1.1",
3333
"happypack": "^5.0.1",
3434
"html-webpack-plugin": "^3.2.0",

yarn.lock

Lines changed: 64 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -749,6 +749,13 @@ acorn@^7.1.0:
749749
resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.1.0.tgz#949d36f2c292535da602283586c2477c57eb2d6c"
750750
integrity sha512-kL5CuoXA/dgxlBbVrflsflzQ3PAas7RYZB52NOm/6839iVYJgKMJ3cQJD+t2i5+qFa8h3MDpEOJiS64E8JLnSQ==
751751

752+
agent-base@^4.3.0:
753+
version "4.3.0"
754+
resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-4.3.0.tgz#8165f01c436009bccad0b1d122f05ed770efc6ee"
755+
integrity sha512-salcGninV0nPrwpGNn4VTXBb1SOuXQBiqbrNXoeizJsHrsL6ERFM2Ne3JUSBWRE6aeNJI2ROP/WEEIDUiDe3cg==
756+
dependencies:
757+
es6-promisify "^5.0.0"
758+
752759
aggregate-error@^3.0.0:
753760
version "3.0.1"
754761
resolved "https://registry.yarnpkg.com/aggregate-error/-/aggregate-error-3.0.1.tgz#db2fe7246e536f40d9b5442a39e117d7dd6a24e0"
@@ -860,6 +867,11 @@ argparse@^1.0.7:
860867
dependencies:
861868
sprintf-js "~1.0.2"
862869

870+
argv@^0.0.2:
871+
version "0.0.2"
872+
resolved "https://registry.yarnpkg.com/argv/-/argv-0.0.2.tgz#ecbd16f8949b157183711b1bda334f37840185ab"
873+
integrity sha1-7L0W+JSbFXGDcRsb2jNPN4QBhas=
874+
863875
arr-diff@^4.0.0:
864876
version "4.0.0"
865877
resolved "https://registry.yarnpkg.com/arr-diff/-/arr-diff-4.0.0.tgz#d6461074febfec71e7e15235761a329a5dc7c520"
@@ -1560,6 +1572,17 @@ code-point-at@^1.0.0:
15601572
resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77"
15611573
integrity sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=
15621574

1575+
codecov@^3.6.1:
1576+
version "3.6.1"
1577+
resolved "https://registry.yarnpkg.com/codecov/-/codecov-3.6.1.tgz#f39fc49413445555f81f8e3ca5730992843b4517"
1578+
integrity sha512-IUJB6WG47nWK7o50etF8jBadxdMw7DmoQg05yIljstXFBGB6clOZsIj6iD4P82T2YaIU3qq+FFu8K9pxgkCJDQ==
1579+
dependencies:
1580+
argv "^0.0.2"
1581+
ignore-walk "^3.0.1"
1582+
js-yaml "^3.13.1"
1583+
teeny-request "^3.11.3"
1584+
urlgrey "^0.4.4"
1585+
15631586
collection-visit@^1.0.0:
15641587
version "1.0.0"
15651588
resolved "https://registry.yarnpkg.com/collection-visit/-/collection-visit-1.0.0.tgz#4bc0373c164bc3291b4d368c829cf1a80a59dca0"
@@ -1733,17 +1756,6 @@ cosmiconfig@^5.2.1:
17331756
js-yaml "^3.13.1"
17341757
parse-json "^4.0.0"
17351758

1736-
coveralls@^3.0.9:
1737-
version "3.0.9"
1738-
resolved "https://registry.yarnpkg.com/coveralls/-/coveralls-3.0.9.tgz#8cfc5a5525f84884e2948a0bf0f1c0e90aac0420"
1739-
integrity sha512-nNBg3B1+4iDox5A5zqHKzUTiwl2ey4k2o0NEcVZYvl+GOSJdKBj4AJGKLv6h3SvWch7tABHePAQOSZWM9E2hMg==
1740-
dependencies:
1741-
js-yaml "^3.13.1"
1742-
lcov-parse "^1.0.0"
1743-
log-driver "^1.2.7"
1744-
minimist "^1.2.0"
1745-
request "^2.88.0"
1746-
17471759
create-ecdh@^4.0.0:
17481760
version "4.0.3"
17491761
resolved "https://registry.yarnpkg.com/create-ecdh/-/create-ecdh-4.0.3.tgz#c9111b6f33045c4697f144787f9254cdc77c45ff"
@@ -1882,7 +1894,7 @@ debug@2.6.9, debug@^2.2.0, debug@^2.3.3, debug@^2.6.8, debug@^2.6.9:
18821894
dependencies:
18831895
ms "2.0.0"
18841896

1885-
debug@^3.0.0, debug@^3.1.1, debug@^3.2.5, debug@^3.2.6:
1897+
debug@^3.0.0, debug@^3.1.0, debug@^3.1.1, debug@^3.2.5, debug@^3.2.6:
18861898
version "3.2.6"
18871899
resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.6.tgz#e83d17de16d8a7efb7717edbe5fb10135eee629b"
18881900
integrity sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==
@@ -2328,6 +2340,18 @@ es-to-primitive@^1.2.1:
23282340
is-date-object "^1.0.1"
23292341
is-symbol "^1.0.2"
23302342

2343+
es6-promise@^4.0.3:
2344+
version "4.2.8"
2345+
resolved "https://registry.yarnpkg.com/es6-promise/-/es6-promise-4.2.8.tgz#4eb21594c972bc40553d276e510539143db53e0a"
2346+
integrity sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w==
2347+
2348+
es6-promisify@^5.0.0:
2349+
version "5.0.0"
2350+
resolved "https://registry.yarnpkg.com/es6-promisify/-/es6-promisify-5.0.0.tgz#5109d62f3e56ea967c4b63505aef08291c8a5203"
2351+
integrity sha1-UQnWLz5W6pZ8S2NQWu8IKRyKUgM=
2352+
dependencies:
2353+
es6-promise "^4.0.3"
2354+
23312355
escape-html@~1.0.3:
23322356
version "1.0.3"
23332357
resolved "https://registry.yarnpkg.com/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988"
@@ -3474,6 +3498,14 @@ https-browserify@^1.0.0:
34743498
resolved "https://registry.yarnpkg.com/https-browserify/-/https-browserify-1.0.0.tgz#ec06c10e0a34c0f2faf199f7fd7fc78fffd03c73"
34753499
integrity sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM=
34763500

3501+
https-proxy-agent@^2.2.1:
3502+
version "2.2.4"
3503+
resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-2.2.4.tgz#4ee7a737abd92678a293d9b34a1af4d0d08c787b"
3504+
integrity sha512-OmvfoQ53WLjtA9HeYP9RNrWMJzzAz1JGaSFr1nijg0PVR1JaD/xbJq1mdEIIlxGpXp9eSe/O2LgU9DJmTPd0Eg==
3505+
dependencies:
3506+
agent-base "^4.3.0"
3507+
debug "^3.1.0"
3508+
34773509
husky@^3.1.0:
34783510
version "3.1.0"
34793511
resolved "https://registry.yarnpkg.com/husky/-/husky-3.1.0.tgz#5faad520ab860582ed94f0c1a77f0f04c90b57c0"
@@ -4524,11 +4556,6 @@ lcid@^2.0.0:
45244556
dependencies:
45254557
invert-kv "^2.0.0"
45264558

4527-
lcov-parse@^1.0.0:
4528-
version "1.0.0"
4529-
resolved "https://registry.yarnpkg.com/lcov-parse/-/lcov-parse-1.0.0.tgz#eb0d46b54111ebc561acb4c408ef9363bdc8f7e0"
4530-
integrity sha1-6w1GtUER68VhrLTECO+TY73I9+A=
4531-
45324559
left-pad@^1.3.0:
45334560
version "1.3.0"
45344561
resolved "https://registry.yarnpkg.com/left-pad/-/left-pad-1.3.0.tgz#5b8a3a7765dfe001261dde915589e782f8c94d1e"
@@ -4718,11 +4745,6 @@ lodash@^4.17.11, lodash@^4.17.12, lodash@^4.17.13, lodash@^4.17.14, lodash@^4.17
47184745
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548"
47194746
integrity sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==
47204747

4721-
log-driver@^1.2.7:
4722-
version "1.2.7"
4723-
resolved "https://registry.yarnpkg.com/log-driver/-/log-driver-1.2.7.tgz#63b95021f0702fedfa2c9bb0a24e7797d71871d8"
4724-
integrity sha512-U7KCmLdqsGHBLeWqYlFA0V0Sl6P08EE1ZrmA9cxjUE0WVqT9qnyVDPz1kzpFEP0jdJuFnasWIfSd7fsaNXkpbg==
4725-
47264748
log-symbols@^1.0.2:
47274749
version "1.0.2"
47284750
resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-1.0.2.tgz#376ff7b58ea3086a0f09facc74617eca501e1a18"
@@ -5142,6 +5164,11 @@ no-case@^2.2.0:
51425164
dependencies:
51435165
lower-case "^1.1.1"
51445166

5167+
node-fetch@^2.2.0:
5168+
version "2.6.0"
5169+
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.0.tgz#e633456386d4aa55863f676a7ab0daa8fdecb0fd"
5170+
integrity sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA==
5171+
51455172
node-forge@0.9.0:
51465173
version "0.9.0"
51475174
resolved "https://registry.yarnpkg.com/node-forge/-/node-forge-0.9.0.tgz#d624050edbb44874adca12bb9a52ec63cb782579"
@@ -6273,7 +6300,7 @@ request-promise-native@^1.0.5:
62736300
stealthy-require "^1.1.1"
62746301
tough-cookie "^2.3.3"
62756302

6276-
request@^2.87.0, request@^2.88.0:
6303+
request@^2.87.0:
62776304
version "2.88.0"
62786305
resolved "https://registry.yarnpkg.com/request/-/request-2.88.0.tgz#9c2fca4f7d35b592efe57c7f0a55e81052124fef"
62796306
integrity sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg==
@@ -7142,6 +7169,15 @@ tar@^4:
71427169
safe-buffer "^5.1.2"
71437170
yallist "^3.0.3"
71447171

7172+
teeny-request@^3.11.3:
7173+
version "3.11.3"
7174+
resolved "https://registry.yarnpkg.com/teeny-request/-/teeny-request-3.11.3.tgz#335c629f7645e5d6599362df2f3230c4cbc23a55"
7175+
integrity sha512-CKncqSF7sH6p4rzCgkb/z/Pcos5efl0DmolzvlqRQUNcpRIruOhY9+T1FsIlyEbfWd7MsFpodROOwHYh2BaXzw==
7176+
dependencies:
7177+
https-proxy-agent "^2.2.1"
7178+
node-fetch "^2.2.0"
7179+
uuid "^3.3.2"
7180+
71457181
terser-webpack-plugin@^1.4.1:
71467182
version "1.4.1"
71477183
resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-1.4.1.tgz#61b18e40eaee5be97e771cdbb10ed1280888c2b4"
@@ -7549,6 +7585,11 @@ url@^0.11.0:
75497585
punycode "1.3.2"
75507586
querystring "0.2.0"
75517587

7588+
urlgrey@^0.4.4:
7589+
version "0.4.4"
7590+
resolved "https://registry.yarnpkg.com/urlgrey/-/urlgrey-0.4.4.tgz#892fe95960805e85519f1cd4389f2cb4cbb7652f"
7591+
integrity sha1-iS/pWWCAXoVRnxzUOJ8stMu3ZS8=
7592+
75527593
use-constant@^1.0.0:
75537594
version "1.0.0"
75547595
resolved "https://registry.yarnpkg.com/use-constant/-/use-constant-1.0.0.tgz#cfab998e6fc19ddc62b056875709f1420e339a10"

0 commit comments

Comments
 (0)