Skip to content

Commit 475c49e

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

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

.github/workflows/check.yml

+11-8
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,12 @@ jobs:
4848
CI_RUN: "yes"
4949
DIFF_AGAINST: HEAD
5050
- name: Upload coverage data
51-
uses: actions/upload-artifact@v3
51+
uses: actions/upload-artifact@v4
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,18 +71,19 @@ 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
76-
uses: actions/download-artifact@v3
78+
uses: actions/download-artifact@v4
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
83-
uses: actions/upload-artifact@v3
86+
uses: actions/upload-artifact@v4
8487
with:
8588
name: html-report
8689
path: .tox/htmlcov
@@ -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)