Skip to content

Commit

Permalink
Upload coverage reports as separate files.
Browse files Browse the repository at this point in the history
  • Loading branch information
Neloreck committed Mar 11, 2024
1 parent 4c86abe commit c4feb9a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

strategy:
matrix:
node-version: [19.x]
node-version: [20.x]
shard: [1, 2, 3, 4, 5, 6]

steps:
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:

- uses: actions/upload-artifact@v4
with:
name: coverage-artifacts
name: coverage-artifacts-${{matrix.shard}}
path: target/coverage_report/${{matrix.shard}}.json

report-coverage:
Expand All @@ -66,7 +66,8 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: coverage-artifacts
pattern: coverage-artifacts-*
merge-multiple: true
path: target/coverage_report

- name: Merge code coverage
Expand Down

0 comments on commit c4feb9a

Please sign in to comment.