Skip to content

Commit 3445bef

Browse files
committed
Try to replace uv run
1 parent f1f1ab9 commit 3445bef

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/run-tests.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,19 @@ jobs:
2323
- name: Setup uv
2424
uses: astral-sh/setup-uv@v3
2525
- name: Install Python ${{ matrix.python-version }}
26-
run: uv python install ${{ matrix.python-version }}
26+
run: |
27+
uv python install ${{ matrix.python-version }}
28+
uv venv
29+
uv pip install -e ".[dev]"
30+
source .venv/bin/activate
2731
- name: Install libsndfile
2832
if: startsWith(matrix.os, 'ubuntu')
2933
run: |
3034
sudo apt-get install -y libsndfile1
3135
- name: Run tests
32-
run: uv run --extra dev pytest
36+
run: pytest
3337
- name: Check source code format
34-
run: uv run --extra dev black --check --diff .
38+
run: black --check --diff .
3539

3640
test-deb10-i386:
3741
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)