Skip to content

Take enable-cache and python-version into account when setting up uv in CI#516

Open
thierry-martinez wants to merge 1 commit into
TeamGraphix:masterfrom
thierry-martinez:typecheck-3.14
Open

Take enable-cache and python-version into account when setting up uv in CI#516
thierry-martinez wants to merge 1 commit into
TeamGraphix:masterfrom
thierry-martinez:typecheck-3.14

Conversation

@thierry-martinez
Copy link
Copy Markdown
Collaborator

The setup-uv composite action ignored the enable-cache and python-version inputs. Cache was still enabled by default, which is the intended behaviour, but the system Python version was used instead of the one specified. As a result, type‑checking and coverage ran with Python 3.12 rather than the requested Python 3.14.

This commit fixes the setup-uv composite action so that it respects both the enable-cache and python-version inputs.

… `uv` in CI

The `setup-uv` composite action ignored the `enable-cache` and
`python-version` inputs. Cache was still enabled by default, which is
the intended behaviour, but the system Python version was used instead
of the one specified. As a result, type‑checking and coverage ran with
Python 3.12 rather than the requested Python 3.14.

This commit fixes the `setup-uv` composite action so that it respects
both the `enable-cache` and `python-version` inputs.
@codecov
Copy link
Copy Markdown

codecov Bot commented May 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.91%. Comparing base (b2832a6) to head (90c7664).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #516   +/-   ##
=======================================
  Coverage   88.91%   88.91%           
=======================================
  Files          49       49           
  Lines        7111     7111           
=======================================
  Hits         6323     6323           
  Misses        788      788           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@thierry-martinez
Copy link
Copy Markdown
Collaborator Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant