Skip to content

Commit

Permalink
Include hidden files when saving test coverage artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
Tenzer committed Sep 6, 2024
1 parent 1514d6a commit 908ad32
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,11 @@ jobs:
run: coverage run --parallel -m pytest

- name: Upload coverage data
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: coverage-data
path: ".coverage.*"
include-hidden-files: true

coverage:
runs-on: ubuntu-22.04
Expand All @@ -62,7 +63,7 @@ jobs:
python3 -m pip install -U .[dev]
- name: Download coverage data
uses: actions/download-artifact@v3.0.0
uses: actions/download-artifact@v4
with:
name: coverage-data

Expand All @@ -77,7 +78,3 @@ jobs:
- name: Display human readable report
run: |
coverage report
# Optional if you want to use codecov.io
# - name: Upload coverage report
# uses: codecov/codecov-action@v3

0 comments on commit 908ad32

Please sign in to comment.