CI tests on the pull request only, and only when code changed #4
Loading…
Reference in a new issue
No description provided.
Delete branch "PIPT-18-ci-rules"
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?
Part of moving every repo onto the PIPT-12 CI rules, tracked on https://openproject.home.romaine.life/wp/PIPT-18.
Changed: the Linux and Windows test jobs run on a pull request only, and only when code changed (the
changesjob already worked this out, but only Windows used it). Thepushandworkflow_dispatchtriggers are removed, so a merge no longer re-runs the tests.Not on the shared Python suite, on purpose: that suite runs ruff check, ruff format and pytest. Toad is a fork, and upstream's code fails ruff in about 340 places, with 10 files to reformat. Joining would mean rewriting upstream's code, so the tests stay here, held to the same rules (the suites'
default/rules.mjspasses on this workflow).Left alone: the tests themselves, uv's version,
check-fetches, and the required checks (a skipped job counts as passing).