Skip to content

Commit

Permalink
ci: update actions/{upload,download}-artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasT committed Jun 17, 2024
1 parent 97ee08a commit 1263c6e
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,14 @@ jobs:
- name: Upload coverage data
if: always() && matrix.session == 'tests'
uses: "actions/upload-artifact@v3"
uses: "actions/upload-artifact@v4.3.3"
with:
name: coverage-data
name: "coverage-data-${{ matrix.python-version }}-${{ matrix.runs-on || 'ubuntu-latest' }}"
path: ".coverage.*"

- name: Upload documentation
if: matrix.session == 'docs'
uses: "actions/upload-artifact@v3"
uses: "actions/upload-artifact@v4.3.3"
with:
name: docs
path: "docs/_build"
Expand Down Expand Up @@ -119,9 +119,10 @@ jobs:
pip install --constraint=.github/workflows/constraints.txt nox nox-poetry
nox --version
- name: Download coverage data
uses: actions/download-artifact@v3.0.2
uses: actions/download-artifact@v4.1.7
with:
name: coverage-data
pattern: coverage-data-*
merge-multiple: true

- name: Combine coverage data and display human readable report
run: |
Expand Down

0 comments on commit 1263c6e

Please sign in to comment.