Skip to content

Commit

Permalink
feat: use uv recommended setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Barabazs committed Jan 16, 2025
1 parent 3264084 commit 2e6ef34
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/python-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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')"

0 comments on commit 2e6ef34

Please sign in to comment.