Skip to content

Commit

Permalink
fix tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
phcreery committed Feb 12, 2025
1 parent 6177a6a commit 2126ef0
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,19 +51,21 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Install uv
run: pipx install uv

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: "uv"

- name: Install uv
uses: astral-sh/setup-uv@v5
with:
version: "latest"
enable-cache: true

- name: Install dependencies
run: |
uv venv --python ${{ matrix.python-version }}
pip install -U pip setuptools
uv pip install pip setuptools
uv sync
- uses: FedericoCarboni/setup-ffmpeg@v2
Expand All @@ -84,14 +86,16 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Install uv
run: pipx install uv

- name: Set up Python "3.11"
uses: actions/setup-python@v4
with:
python-version: "3.11"
cache: "uv"

- name: Install uv
uses: astral-sh/setup-uv@v5
with:
version: "latest"
enable-cache: true

- name: Install dependencies
run: |
Expand Down

0 comments on commit 2126ef0

Please sign in to comment.