Skip to content

Commit

Permalink
Merge pull request #623 from fedejaure/fix-artifacts
Browse files Browse the repository at this point in the history
Update upload/download artifacts action to v4
  • Loading branch information
fedejaure committed Dec 29, 2023
2 parents a2e1b9c + cda4857 commit cbbd63a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,11 @@ jobs:
run: nox --force-color -s safety

- name: Upload coverage data
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: coverage-data
name: ${{ matrix.os }}-${{ matrix.python-version }}.coverage-data
path: ".coverage.*"
retention-days: 2

coverage:
needs: tests
Expand All @@ -93,9 +94,10 @@ jobs:
poetry config virtualenvs.in-project true
- 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: Create coverage report
shell: bash
Expand Down

0 comments on commit cbbd63a

Please sign in to comment.