diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a2c05e6..536ea5d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -76,7 +76,8 @@ jobs: - name: Upload coverage data uses: actions/upload-artifact@v4 with: - name: .coverage.${{ matrix.coverage }} + name: coverage-data-${{ matrix.coverage }} + path: .coverage.${{ matrix.coverage }} include-hidden-files: true if-no-files-found: error @@ -113,7 +114,7 @@ jobs: - name: Download coverage data uses: actions/download-artifact@v4 with: - pattern: .coverage.* + pattern: coverage-data-* # - name: Check files # run: | @@ -121,6 +122,8 @@ jobs: - name: Save PR number and combine coverage data run: | + ls -la + ls -la coverage* mkdir -p ./pr coverage combine coverage report -m --format="markdown" > ./pr/coverage.md