diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index f8e6511..28f40bd 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -19,22 +19,17 @@ jobs: os: [windows-latest, ubuntu-latest, macos-latest] python-version: ["3.8", "3.9", "3.10", "3.11"] steps: - - uses: actions/checkout@v3 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 - with: - python-version: ${{ matrix.python-version }} - - name: Install uv + - uses: actions/checkout@v4 + - name: Setup uv uses: astral-sh/setup-uv@v3 - - name: Install dependencies - run: | - uv pip install --system ".[dev]" + - name: Install Python ${{ matrix.python-version }} + run: uv python install ${{ matrix.python-version }} - name: Install libsndfile if: startsWith(matrix.os, 'ubuntu') run: | sudo apt-get install -y libsndfile1 - name: Run tests - run: pytest + run: uv run --extra dev pytest - name: Check source code format run: black --check --diff .