File tree Expand file tree Collapse file tree 2 files changed +18
-22
lines changed Expand file tree Collapse file tree 2 files changed +18
-22
lines changed Original file line number Diff line number Diff line change @@ -32,30 +32,26 @@ jobs:
32
32
33
33
34
34
- run : npm install
35
- - run : npm run coverage
35
+ - run : npm test
36
36
env :
37
37
CI : true
38
- # - run: npm run coverage
39
- coverage :
40
- name : Coveralls
41
- runs-on : ubuntu-latest
42
- trategy :
43
- matrix :
44
- node-version : [14]
45
-
46
- steps :
47
- - uses : coverallsapp/github-action@master
48
- env :
49
- COVERALLS_REPO_TOKEN : ${{ secrets.COVERALLS_REPO_TOKEN }}
50
- with :
51
- github-token : ${{ secrets.GITHUB_TOKEN }}
38
+ - run : npm run coverage
52
39
40
+ - name : Coveralls
41
+ uses : coverallsapp/github-action@master
42
+ with :
43
+ github-token : ${{ secrets.GITHUB_TOKEN }}
44
+ flag-name : ${{matrix.os}}-node-${{ matrix.node }}
45
+ parallel : true
53
46
47
+ finish :
48
+ needs : test
49
+ runs-on : ubuntu-latest
50
+ steps :
51
+ - name : Coveralls Finished
52
+ uses : coverallsapp/github-action@master
53
+ with :
54
+ github-token : ${{ secrets.GITHUB_TOKEN }}
55
+ parallel-finished : true
54
56
55
- # uses: coverallsapp/github-action@master
56
- # env:
57
- # COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
58
- # COVERALLS_GIT_BRANCH: ${{ github.ref }}
59
- # with:
60
- # github-token: ${{ secrets.GITHUB_TOKEN }}
61
57
Original file line number Diff line number Diff line change 8
8
"author" : " IBM Corp." ,
9
9
"main" : " index.js" ,
10
10
"scripts" : {
11
- "coverage" : " npm test && nyc report --reporter=text-lcov --reporter=lcov | coveralls" ,
11
+ "coverage" : " nyc report --reporter=text-lcov --reporter=lcov && cat ./coverage/lcov.info | ./node_modules/ coveralls/bin/coveralls.js " ,
12
12
"benchmarks" : " make benchmarks" ,
13
13
"leak-detection" : " make leak-detection" ,
14
14
"test" : " nyc mocha test/*.test.js node_modules/juggler-v4/test.js" ,
You can’t perform that action at this time.
0 commit comments