Skip to content

👷 ci: run the uvx self-test outside a Python project - #58

Merged
gaborbernat merged 1 commit into
mainfrom
ci-selftest-uvx
Nov 5, 2026
Merged

gaborbernat merged 1 commit into
mainfrom
ci-selftest-uvx

Conversation

@gaborbernat

Copy link
Copy Markdown
Member

Projects without a pyproject.toml get the Action's uvx path, but CI stopped running that path when #43 added a tool-only pyproject.toml at the repository root. The Action picks its path by whether pyproject.toml exists in the workspace, so the 🧪 Self-test with uvx job has run uv run ever since. A regression in the uvx path could ship unnoticed. 🔍

The uvx job no longer checks out this repository. It starts from an empty git repository holding only a minimal pre-commit configuration, so the Action sees no Python project. The job also sets uv-install: 'true', which makes the Action install uv itself rather than rely on detection. The uv run job keeps its generated project and the external-uv job keeps uv-install: 'false', so each of the three paths has its own job.

Nothing changes for users of the Action.

Since #43 added a root pyproject.toml, the uvx self-test ran from the
repository root and took the uv run path. Run it in a fresh git
repository with a minimal pre-commit config and force uv-install: true
so both stay covered.
@gaborbernat gaborbernat added the skip news No user-facing changelog entry needed label Nov 5, 2026
@gaborbernat
gaborbernat enabled auto-merge (squash) November 5, 2026 14:25
@gaborbernat
gaborbernat merged commit 945c33b into main Nov 5, 2026
9 checks passed
@gaborbernat
gaborbernat deleted the ci-selftest-uvx branch November 5, 2026 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news No user-facing changelog entry needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant