File tree Expand file tree Collapse file tree 1 file changed +8
-30
lines changed Expand file tree Collapse file tree 1 file changed +8
-30
lines changed Original file line number Diff line number Diff line change 42
42
- Node.js 0.8
43
43
- Node.js 0.10
44
44
- Node.js 0.12
45
- - io.js 1.x
46
- - io.js 2.x
47
- - io.js 3.x
48
45
- Node.js 4.x
49
46
- Node.js 5.x
50
47
- Node.js 6.x
@@ -213,39 +210,20 @@ jobs:
213
210
npm test
214
211
fi
215
212
216
- - name : Upload code coverage
213
+ - name : Collect code coverage
214
+ uses : coverallsapp/github-action@master
217
215
if : steps.list_env.outputs.nyc != ''
218
- uses : actions/upload-artifact@v4
219
216
with :
220
- name : coverage-node- ${{ matrix.node-version }}
221
- path : ./coverage/lcov.info
222
- retention-days : 1
217
+ github-token : ${{ secrets.GITHUB_TOKEN }}
218
+ flag-name : run-${{ matrix.test_number }}
219
+ parallel : true
223
220
224
221
coverage :
225
222
needs : test
226
223
runs-on : ubuntu-latest
227
- permissions :
228
- contents : read
229
- checks : write
230
224
steps :
231
- - uses : actions/checkout@v4
232
-
233
- - name : Install lcov
234
- shell : bash
235
- run : sudo apt-get -y install lcov
236
-
237
- - name : Collect coverage reports
238
- uses : actions/download-artifact@v4
239
- with :
240
- path : ./coverage
241
- pattern : coverage-node-*
242
-
243
- - name : Merge coverage reports
244
- shell : bash
245
- run : find ./coverage -name lcov.info -exec printf '-a %q\n' {} \; | xargs lcov -o ./lcov.info
246
-
247
- - name : Upload coverage report
248
- uses : coverallsapp/github-action@v2
225
+ - name : Upload code coverage
226
+ uses : coverallsapp/github-action@master
249
227
with :
250
228
github-token : ${{ secrets.GITHUB_TOKEN }}
251
- file : ./lcov.info
229
+ parallel-finished : true
You can’t perform that action at this time.
0 commit comments