From aa6334883bc704d796ba05c1651f4bf890481301 Mon Sep 17 00:00:00 2001 From: Clemens Brunner Date: Mon, 18 Nov 2024 13:31:09 +0100 Subject: [PATCH] Try to replace uv run --- .github/workflows/run-tests.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 6b9f44c9..873d6e86 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -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