Skip to content

Commit fb9be8d

Browse files
committed
chore(workflows): add parallel support and Coveralls completion step
- Enabled `parallel` mode in `node_checks.yml` and `deno_checks.yml` for Coveralls. - Added `coveralls-finish` step in `test.yml` to finalize parallel coverage reports. Signed-off-by: Alberto Ricart <[email protected]>
1 parent 7d3f8aa commit fb9be8d

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

.github/workflows/deno_checks.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jobs:
4343
continue-on-error: true
4444
with:
4545
github-token: ${{ secrets.GITHUB_TOKEN }}
46+
parallel: true
4647
flag-name: ${{ matrix.module }}
4748
file: ./coverage/out.lcov
4849

.github/workflows/node_checks.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ jobs:
4949
continue-on-error: true
5050
with:
5151
github-token: ${{ secrets.GITHUB_TOKEN }}
52+
parallel: true
5253
flag-name: transport-node
5354
file: ./transport-node/out.lcov
5455

.github/workflows/test.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,11 @@ jobs:
1717
uses: ./.github/workflows/deno_checks.yml
1818
test-node:
1919
uses: ./.github/workflows/node_checks.yml
20+
coveralls-finish:
21+
needs: [test-deno, test-node]
22+
runs-on: ubuntu-latest
23+
steps:
24+
- name: Coveralls Finished
25+
uses: coverallsapp/github-action@v2
26+
with:
27+
parallel-finished: true

0 commit comments

Comments
 (0)