Skip to content

Commit d058b68

Browse files
committed
More uv
1 parent 3b1e63f commit d058b68

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

.github/workflows/run-tests.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,22 +19,17 @@ jobs:
1919
os: [windows-latest, ubuntu-latest, macos-latest]
2020
python-version: ["3.8", "3.9", "3.10", "3.11"]
2121
steps:
22-
- uses: actions/checkout@v3
23-
- name: Set up Python ${{ matrix.python-version }}
24-
uses: actions/setup-python@v4
25-
with:
26-
python-version: ${{ matrix.python-version }}
27-
- name: Install uv
22+
- uses: actions/checkout@v4
23+
- name: Setup uv
2824
uses: astral-sh/setup-uv@v3
29-
- name: Install dependencies
30-
run: |
31-
uv pip install --system ".[dev]"
25+
- name: Install Python ${{ matrix.python-version }}
26+
run: uv python install ${{ matrix.python-version }}
3227
- name: Install libsndfile
3328
if: startsWith(matrix.os, 'ubuntu')
3429
run: |
3530
sudo apt-get install -y libsndfile1
3631
- name: Run tests
37-
run: pytest
32+
run: uv run --extra dev pytest
3833
- name: Check source code format
3934
run: black --check --diff .
4035

0 commit comments

Comments
 (0)