From ee86c90879a0962bab91da1f0727fae519b38e53 Mon Sep 17 00:00:00 2001 From: Javier Buzzi Date: Tue, 17 Sep 2024 12:51:59 +0200 Subject: [PATCH] Fixes bug/feature in GitHub action upload-artifact that ignores any file that starts with a dot. (#80) --- .github/workflows/_tests.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/_tests.yml b/.github/workflows/_tests.yml index 5fa2e63..4d73f7d 100644 --- a/.github/workflows/_tests.yml +++ b/.github/workflows/_tests.yml @@ -161,6 +161,8 @@ jobs: - name: Upload coverage artifact uses: actions/upload-artifact@v4 with: + include-hidden-files: true + if-no-files-found: error name: ${{ env.ARTIFACT_NAME }} path: .coverage retention-days: 1 @@ -187,10 +189,13 @@ jobs: - name: Combine coverage.py run: | coverage combine $(find downloaded_artifacts/ -type f | xargs) + # Used by codecov coverage xml - name: Upload single coverage artifact uses: actions/upload-artifact@v4 with: + include-hidden-files: true + if-no-files-found: error name: .coverage path: .coverage retention-days: 1