Skip to content

Commit

Permalink
Try to replace uv run
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrnr committed Nov 18, 2024
1 parent 8b7b4f4 commit aa63348
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,19 @@ jobs:
- name: Setup uv
uses: astral-sh/setup-uv@v3
- name: Install Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
run: |
uv python install ${{ matrix.python-version }}
uv venv
uv pip install -e ".[dev]"
source .venv/bin/activate
- name: Install libsndfile
if: startsWith(matrix.os, 'ubuntu')
run: |
sudo apt-get install -y libsndfile1
- name: Run tests
run: uv run --extra dev pytest
run: pytest
- name: Check source code format
run: uv run --extra dev black --check --diff .
run: black --check --diff .

test-deb10-i386:
runs-on: ubuntu-latest
Expand Down

0 comments on commit aa63348

Please sign in to comment.