From d4ba0e801b0ae238397637c26dddd1d67d7ece5f Mon Sep 17 00:00:00 2001 From: Peace-Maker Date: Mon, 30 Sep 2024 00:11:12 +0200 Subject: [PATCH] Fix collecting coverage in CI The upload-artifact action v4.4.0 excluded hidden files from uploads by default. We want to upload only hidden `.coverage*` files though. Enable hidden files again using the `include-hidden-files` input. https://github.com/actions/upload-artifact/releases/tag/v4.4.0 --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d1841d4b6..a1bd9b651 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -207,11 +207,13 @@ jobs: with: name: packages path: dist/ + include-hidden-files: true - uses: actions/upload-artifact@v4 with: name: coverage-${{ matrix.python_version }} path: .coverage* + include-hidden-files: true windows-test: runs-on: windows-latest