From c19ca2b9ed9d02e7c5d1657dab268b7234bdbe93 Mon Sep 17 00:00:00 2001 From: Simon Brunning Date: Thu, 12 Sep 2024 11:57:47 +0100 Subject: [PATCH] Merge coverage data. --- .github/workflows/main.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cffec74..82c8e92 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -55,11 +55,12 @@ jobs: - name: Upload coverage data uses: actions/upload-artifact@v4 with: - name: coverage-data + name: coverage-data-${{ matrix.python-version }}-${{ matrix.os }} path: ".coverage*" if-no-files-found: ignore include-hidden-files: true + coverage: needs: - tests @@ -73,6 +74,14 @@ jobs: - name: Install coverage run: python -m pip install --upgrade coverage[toml] + - name: Merge coverage data + uses: actions/upload-artifact/merge@v4 + with: + name: coverage-data + pattern: coverage-data-* + delete-merged: true + include-hidden-files: true + - name: Download coverage data uses: actions/download-artifact@v4 with: