From c4feb9acc1cc9f18ae92ab50e1f367ad9ec36900 Mon Sep 17 00:00:00 2001 From: Neloreck Date: Mon, 11 Mar 2024 22:44:55 +0200 Subject: [PATCH] Upload coverage reports as separate files. --- .github/workflows/build_and_test.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 187cfee65..6e5d46808 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -17,7 +17,7 @@ jobs: strategy: matrix: - node-version: [19.x] + node-version: [20.x] shard: [1, 2, 3, 4, 5, 6] steps: @@ -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: @@ -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