Skip to content

Commit 5415fe8

Browse files
authored
ci: enable parallel coveralls reports (#164)
1 parent a786278 commit 5415fe8

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/test.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ jobs:
1010

1111
strategy:
1212
matrix:
13+
# If you change these, don't forget to update carryforward in the finish
14+
# step as well.
1315
node-version: [14, 16, 18]
1416

1517
steps:
@@ -28,3 +30,17 @@ jobs:
2830
uses: coverallsapp/github-action@v2
2931
with:
3032
github-token: ${{ secrets.GITHUB_TOKEN }}
33+
parallel: true
34+
flag-name: ${{ matrix.node-version }}
35+
36+
finish:
37+
needs: test
38+
if: ${{ always() }}
39+
runs-on: ubuntu-latest
40+
steps:
41+
- name: Coveralls Finished
42+
uses: coverallsapp/github-action@v2
43+
with:
44+
github-token: ${{ secrets.GITHUB_TOKEN }}
45+
parallel-finished: true
46+
carryforward: "14,16,18"

0 commit comments

Comments
 (0)