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 08b6601 commit e0d4d56
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,20 +70,22 @@ 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

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: coverage-data-*
path: .

- name: Set up Python 3.12
Expand Down

0 comments on commit e0d4d56

Please sign in to comment.