diff --git a/.github/workflows/python-compatibility.yml b/.github/workflows/python-compatibility.yml index 263ebb9..1c2fa78 100644 --- a/.github/workflows/python-compatibility.yml +++ b/.github/workflows/python-compatibility.yml @@ -17,16 +17,15 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 + - name: Install uv + uses: astral-sh/setup-uv@v5 with: + version: "0.5.14" python-version: ${{ matrix.python-version }} - - name: Install package - run: | - python -m pip install uv - uv sync + - name: Install the project + run: uv sync --all-extras - name: Test import run: | - python -c "import whisperx; print('Successfully imported whisperx')" + uv run python -c "import whisperx; print('Successfully imported whisperx')"