fix(ci): green the check pipeline #1
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
public/kal!1
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/ci-green"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes the
checkworkflow so pytest and ruff both pass.Changes
${{ secrets.REGISTRY_USER }}:${{ secrets.REGISTRY_TOKEN }}instead of the unreliablegithub.actor. This is the primary fix: the private PyPI (hostingktui) was returning 401 and install died in ~15s.freezegun.freeze_time(..., tick=True).tick=Trueis required so the monotonic clock keeps advancing and Textual/asyncioapp.run_test()does not deadlock.freezegun>=1.5to dev deps; pin[tool.ruff.lint] select = ["E4","E7","E9","F"](ruff's documented default). Newer ruff builds were enabling ~413 rules by default (DTZ/I/UP/…) the project never opted into; pinning restores author intent and makes CI version-stable.Local: 272 passed;
ruff check .= All checks passed!Closing — superseded on main, where the check pipeline is green (
check / check (push)success ate5ba938). The failures were fixed differently: ruff drift by pinningruff>=0.6,<0.16(dd24413) instead of an explicitselect; the date-dependent tests by e487dfe/#3 (tests passsince=and compute dates relative to today) instead of a global freezegun fixture; and the ktui resolution by3d9d916(jmz-ktui). One piece of this PR is not on main:github.actor->secrets.REGISTRY_USERin the extra-index URL. CI passes without it, so re-raise it separately if it matters. The PR no longer merges cleanly.Pull request closed