Skip to content

Commit

Permalink
Merge pull request #1055 from NicolasT/upload-download-actions
Browse files Browse the repository at this point in the history
ci: update `actions/{upload,download}-artifact`
  • Loading branch information
NicolasT authored Jun 17, 2024
2 parents 97ee08a + 1263c6e commit 19c7fc0
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 19c7fc0

Please sign in to comment.