Skip to content

Commit

Permalink
Update artifact handling actions
Browse files Browse the repository at this point in the history
  • Loading branch information
leroyvn committed Sep 4, 2024
1 parent 9bfe83a commit 6aca8ea
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,11 @@ jobs:
run: rye run coverage run -m pytest

- name: Upload coverage data
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: coverage-data
name: coverage-data-${{ matrix.python-version }}
path: .coverage.*
include-hidden-files: true
if-no-files-found: ignore

coverage:
Expand All @@ -70,9 +71,10 @@ jobs:
- run: python -m pip install --upgrade coverage[toml]

- name: Download coverage data
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: coverage-data
pattern: coverage-data-*
merge-multiple: true

- name: Combine coverage
run: |
Expand All @@ -90,7 +92,7 @@ jobs:
echo '```' >> $GITHUB_STEP_SUMMARY
- name: Upload HTML report
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: html-report
path: reports/coverage/html

0 comments on commit 6aca8ea

Please sign in to comment.