Skip to content

Commit

Permalink
ci: set Python version in uv installation
Browse files Browse the repository at this point in the history
  • Loading branch information
deeenes committed Mar 3, 2025
1 parent ad8c5f0 commit 79a62cc
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,19 @@ jobs:
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
python-version: ${{ matrix.python }}

- name: Install Python
if: matrix.python != '3.13'
run: uv python install --python-preference only-managed ${{ matrix.python }}

- name: Install dependencies
run: |
uv sync --all-extras
uv pip install codecov
uv tool install --python-preference only-managed --python 3.13 tox --with tox-uv --with tox-gh
uv tool install \
--python-preference only-managed \
--python ${{ matrix.python }} \
tox --with tox-uv --with tox-gh
- name: Install R
Expand Down

0 comments on commit 79a62cc

Please sign in to comment.