Skip to content

Commit 2a5d436

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

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/check.yml

Lines changed: 8 additions & 5 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
@@ -106,6 +109,6 @@ jobs:
106109
- name: Install tox
107110
run: python -m pip install tox-uv
108111
- name: Setup test suite
109-
run: tox -vv --notest -e ${{ matrix.tox_env }}
112+
run: tox -vv --notest --skip-missing-interpreters false -e ${{ matrix.tox_env }}
110113
- name: Run test suite
111114
run: tox --skip-pkg-install -e ${{ matrix.tox_env }}

0 commit comments

Comments
 (0)