File tree 3 files changed +17
-73
lines changed
3 files changed +17
-73
lines changed Original file line number Diff line number Diff line change @@ -34,43 +34,43 @@ jobs:
34
34
- name : Node.js 0.8
35
35
node-version : " 0.8"
36
36
npm-i : mocha@2.5.3
37
- npm-rm : istanbul
37
+ npm-rm : nyc
38
38
39
39
- name : Node.js 0.10
40
40
node-version : " 0.10"
41
- npm-i : mocha@2.5.3
41
+ npm-i : mocha@2.5.3 nyc@10.3.2
42
42
43
43
- name : Node.js 0.12
44
44
node-version : " 0.12"
45
- npm-i : mocha@3.5.3
45
+ npm-i : mocha@3.5.3 nyc@10.3.2
46
46
47
47
- name : io.js 1.x
48
48
node-version : " 1.8"
49
- npm-i : mocha@3.5.3
49
+ npm-i : mocha@3.5.3 nyc@10.3.2
50
50
51
51
- name : io.js 2.x
52
52
node-version : " 2.5"
53
- npm-i : mocha@3.5.3
53
+ npm-i : mocha@3.5.3 nyc@10.3.2
54
54
55
55
- name : io.js 3.x
56
56
node-version : " 3.3"
57
- npm-i : mocha@3.5.3
57
+ npm-i : mocha@3.5.3 nyc@10.3.2
58
58
59
59
- name : Node.js 4.x
60
60
node-version : " 4.9"
61
- npm-i : mocha@5.2.0
61
+ npm-i : mocha@5.2.0 nyc@11.9.0
62
62
63
63
- name : Node.js 5.x
64
64
node-version : " 5.12"
65
- npm-i : mocha@5.2.0
65
+ npm-i : mocha@5.2.0 nyc@11.9.0
66
66
67
67
- name : Node.js 6.x
68
68
node-version : " 6.17"
69
- npm-i : mocha@6.2.2
69
+ npm-i : mocha@6.2.2 nyc@14.1.1
70
70
71
71
- name : Node.js 7.x
72
72
node-version : " 7.10"
73
- npm-i : mocha@6.2.2
73
+ npm-i : mocha@6.2.2 nyc@14.1.1
74
74
75
75
- name : Node.js 8.x
76
76
node-version : " 8.17"
@@ -156,7 +156,7 @@ jobs:
156
156
- name : Run tests
157
157
shell : bash
158
158
run : |
159
- if npm -ps ls istanbul | grep -q istanbul ; then
159
+ if npm -ps ls nyc | grep -q nyc ; then
160
160
npm run test-ci
161
161
else
162
162
npm test
@@ -168,7 +168,7 @@ jobs:
168
168
169
169
- name : Collect code coverage
170
170
uses : coverallsapp/github-action@master
171
- if : steps.list_env.outputs.istanbul != ''
171
+ if : steps.list_env.outputs.nyc != ''
172
172
with :
173
173
github-token : ${{ secrets.GITHUB_TOKEN }}
174
174
flag-name : run-${{ matrix.test_number }}
Original file line number Diff line number Diff line change 1
- # Compiled source #
2
- # ##################
3
- * .com
4
- * .class
5
- * .dll
6
- * .exe
7
- * .o
8
- * .so
9
-
10
- # Packages #
11
- # ###########
12
- # it's better to unpack these files and commit the raw source
13
- # git has its own built in compression methods
14
- * .7z
15
- * .dmg
16
- * .gz
17
- * .iso
18
- * .jar
19
- * .rar
20
- * .tar
21
- * .zip
22
-
23
- # Logs and databases #
24
- # #####################
25
- * .log
26
- * .sql
27
- * .sqlite
28
-
29
- # OS generated files #
30
- # #####################
31
- .DS_Store *
32
- ehthumbs.db
33
- Icon ?
34
- Thumbs.db
35
-
36
- # Node.js #
37
- # ##########
38
- lib-cov
39
- * .seed
40
- * .log
41
- * .csv
42
- * .dat
43
- * .out
44
- * .pid
45
- * .gz
46
-
47
- pids
48
- logs
49
- results
50
-
1
+ * .tgz
2
+ .nyc_output
51
3
coverage
52
4
node_modules
53
5
npm-debug.log
54
6
package-lock.json
55
-
56
- # Components #
57
- # #############
58
-
59
- /build
60
- /components
61
- /vendors
62
- * .orig
Original file line number Diff line number Diff line change 24
24
"eslint-plugin-node" : " 11.1.0" ,
25
25
"eslint-plugin-promise" : " 4.3.1" ,
26
26
"eslint-plugin-standard" : " 4.1.0" ,
27
- "istanbul" : " 0.4.5" ,
28
27
"mocha" : " 9.1.3" ,
28
+ "nyc" : " 15.1.0" ,
29
29
"readable-stream" : " 2.3.7" ,
30
30
"safe-buffer" : " 5.2.1"
31
31
},
42
42
"scripts" : {
43
43
"lint" : " eslint ." ,
44
44
"test" : " mocha --trace-deprecation --reporter spec --bail --check-leaks test/" ,
45
- "test-ci" : " istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --trace-deprecation -- reporter spec --check-leaks test/ " ,
46
- "test-cov" : " istanbul cover node_modules/mocha/bin/_mocha -- --trace-deprecation -- reporter dot --check-leaks test/ "
45
+ "test-ci" : " nyc --reporter=lcov -- reporter=text npm test" ,
46
+ "test-cov" : " nyc --reporter=html --reporter=text npm test"
47
47
}
48
48
}
You can’t perform that action at this time.
0 commit comments