mirror of
https://github.com/m-bain/whisperX.git
synced 2025-07-01 18:17:27 -04:00
feat: use uv recommended setup
This commit is contained in:
13
.github/workflows/python-compatibility.yml
vendored
13
.github/workflows/python-compatibility.yml
vendored
@ -17,16 +17,15 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up Python ${{ matrix.python-version }}
|
- name: Install uv
|
||||||
uses: actions/setup-python@v5
|
uses: astral-sh/setup-uv@v5
|
||||||
with:
|
with:
|
||||||
|
version: "0.5.14"
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
|
|
||||||
- name: Install package
|
- name: Install the project
|
||||||
run: |
|
run: uv sync --all-extras
|
||||||
python -m pip install uv
|
|
||||||
uv sync
|
|
||||||
|
|
||||||
- name: Test import
|
- name: Test import
|
||||||
run: |
|
run: |
|
||||||
python -c "import whisperx; print('Successfully imported whisperx')"
|
uv run python -c "import whisperx; print('Successfully imported whisperx')"
|
||||||
|
Reference in New Issue
Block a user