Skip to content

Commit

Permalink
Merge pull request #656 from staticdev/dependabot/github_actions/acti…
Browse files Browse the repository at this point in the history
…ons/upload-artifact-4

Bump actions/upload-artifact from 3 to 4
  • Loading branch information
staticdev authored Dec 16, 2023
2 parents 5b5c45a + 41fea0c commit b18ffc2
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,14 @@ jobs:
- name: Upload coverage data
if: always() && matrix.session == 'tests' && matrix.os == 'ubuntu-latest'
uses: "actions/upload-artifact@v3"
uses: "actions/upload-artifact@v4"
with:
name: coverage-data
name: coverage-data-${{ matrix.python }}-${{ matrix.os }}
path: ".coverage.*"

- name: Upload documentation
if: matrix.session == 'docs-build'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: docs
path: docs/_build
Expand Down Expand Up @@ -114,12 +114,16 @@ jobs:
hatch --version
- name: Download coverage data
uses: actions/download-artifact@v3
with:
name: coverage-data
uses: actions/download-artifact@v4

- name: Combine coverage data and display human readable report
run: |
shopt -s dotglob
mv coverage-data-3.12-ubuntu-latest/* .
mv coverage-data-3.11-ubuntu-latest/* .
mv coverage-data-3.10-ubuntu-latest/* .
mv coverage-data-3.9-ubuntu-latest/* .
mv coverage-data-3.8-ubuntu-latest/* .
hatch run coverage:run
- name: Create coverage report
Expand Down

0 comments on commit b18ffc2

Please sign in to comment.