Skip to content

Commit

Permalink
Fix upload-artifact@v3
Browse files Browse the repository at this point in the history
Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
  • Loading branch information
gaborbernat committed Sep 7, 2024
1 parent f15864e commit 6acd5db
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,10 @@ jobs:
- name: Upload coverage data
uses: actions/upload-artifact@v3
with:
name: coverage-data
include-hidden-files: true
name: coverage-${{ matrix.py }}
path: ".tox/.coverage.*"
retention-days: 3

coverage:
name: Combine coverage
Expand All @@ -69,14 +71,15 @@ jobs:
- name: Setup coverage tool
run: tox -e coverage --notest
- name: Install package builder
run: python -m pip install build
run: python -m pip install build[uv]
- name: Build package
run: pyproject-build --wheel .
run: pyproject-build --wheel --installer uv .
- name: Download coverage data
uses: actions/download-artifact@v3
with:
name: coverage-data
path: .tox
pattern: coverage-*
merge-multiple: true
- name: Combine and report coverage
run: tox -e coverage
- name: Upload HTML report
Expand Down

0 comments on commit 6acd5db

Please sign in to comment.