Skip to content

Commit 6acd5db

Browse files
committed
Fix upload-artifact@v3
Signed-off-by: Bernát Gábor <[email protected]>
1 parent f15864e commit 6acd5db

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/check.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,10 @@ jobs:
5050
- name: Upload coverage data
5151
uses: actions/upload-artifact@v3
5252
with:
53-
name: coverage-data
53+
include-hidden-files: true
54+
name: coverage-${{ matrix.py }}
5455
path: ".tox/.coverage.*"
56+
retention-days: 3
5557

5658
coverage:
5759
name: Combine coverage
@@ -69,14 +71,15 @@ jobs:
6971
- name: Setup coverage tool
7072
run: tox -e coverage --notest
7173
- name: Install package builder
72-
run: python -m pip install build
74+
run: python -m pip install build[uv]
7375
- name: Build package
74-
run: pyproject-build --wheel .
76+
run: pyproject-build --wheel --installer uv .
7577
- name: Download coverage data
7678
uses: actions/download-artifact@v3
7779
with:
78-
name: coverage-data
7980
path: .tox
81+
pattern: coverage-*
82+
merge-multiple: true
8083
- name: Combine and report coverage
8184
run: tox -e coverage
8285
- name: Upload HTML report

0 commit comments

Comments
 (0)