Skip to content

Commit

Permalink
Fixes bug/feature in GitHub action upload-artifact that ignores any f…
Browse files Browse the repository at this point in the history
…ile that starts with a dot. (#80)
  • Loading branch information
kingbuzzman authored Sep 17, 2024
1 parent 70c6e03 commit ee86c90
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit ee86c90

Please sign in to comment.