Skip to content

Commit

Permalink
fix handling coverage artifacts with latest action
Browse files Browse the repository at this point in the history
  • Loading branch information
mvantellingen committed Oct 13, 2024
1 parent 66727be commit 224746c
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,20 +70,23 @@ jobs:
- name: Prepare artifacts
run: mkdir .coverage-data && mv .coverage.* .coverage-data/

- uses: actions/upload-artifact@master
- uses: actions/upload-artifact@v4
with:
name: coverage-data
path: .coverage-data/
name: coverage-data-${{ matrix.platform }}-${{ matrix.python-version }}
path: .coverage-data/.coverage.*
include-hidden-files: true
retention-days: 1

coverage:
runs-on: ubuntu-latest
needs: [test]
steps:
- uses: actions/checkout@v4

- uses: actions/download-artifact@master
- uses: actions/download-artifact@v4
with:
name: coverage-data
pattern: coverage-data-*
merge-multiple: true
path: .

- name: Set up Python 3.12
Expand Down

0 comments on commit 224746c

Please sign in to comment.