Skip to content

Commit a0f5917

Browse files
author
Zhe Yu
committed
ci: configure pdm to use uv
1 parent db19959 commit a0f5917

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/test_and_cov.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ jobs:
2929
with:
3030
python-version: ${{ matrix.python-version }}
3131

32+
- name: Install uv
33+
uses: astral-sh/setup-uv@v5
34+
with:
35+
python-version: ${{ matrix.python-version }}
36+
3237
- name: install pdm and dependencies
3338
run: make deps
3439

@@ -39,6 +44,9 @@ jobs:
3944
mkdir -p "$HF_HOME"
4045
[ -z "$(ls "$HF_HOME")" ] || rm "${HF_HOME:?}/*" -rf && true
4146
47+
- name: Configure pdm to use uv
48+
run: pdm config use_uv true
49+
4250
- name: run tests
4351
run: pdm run pytest --enable-coredumpy --coredumpy-dir ${{ env.COREDUMPY_DUMP_DIR }}
4452

0 commit comments

Comments
 (0)