feat: use uv recommended setup

This commit is contained in:
Barabazs
2025-01-16 08:21:45 +01:00
parent b41ebd4871
commit 90256cc481

View File

@ -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')"