Repository navigation
Build on packaging changes and weekly, and enforce LF in the required test job - #16
Merged
Merged
Conversation
…every PR test_builds ran three PyInstaller legs on any change under gleapp/, which is the whole application. A logic change inside an existing module almost never breaks the frozen build, and the legs together bill about 35 minutes per run while the repo is private, roughly 80 percent of what a pull request push consumes. iLEAPP's own test_builds is manual only. The pull request trigger now covers packaging/, pyproject.toml, requirements.txt and the workflow itself, which is where frozen-build breaks come from. A weekly build of main (Monday 06:00 UTC) catches a hidden-import break that ordinary code introduces within days instead of at release time. Manual dispatch stays. Co-Authored-By: Claude Fable 5.1 <[email protected]>
.gitattributes normalizes text to LF on commit for any client that honors it. This is the backstop for what slips past that, a text file caught by a -text rule or a client with attributes off, and it turns a silently mixed repository into a named failure with the fix in the message. tools/check_line_endings.sh asks git's own classification, git ls-files --eol, so it never re-derives which files are text. It runs in test_cases, which is required and has no paths filter, so every pull request sees it; the lint job only runs on Python changes. Proven both ways: current main passes, and the same script against the tree before the normalization flags the 18 CRLF files and exits 1. Co-Authored-By: Claude Fable 5.1 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two CI changes.
test_buildsno longer runs on every change undergleapp/. Its three PyInstaller legs bill about 35 minutes per run while the repo is private, roughly 80 percent of a pull request push, and a logic change inside an existing module almost never breaks the frozen build. It now runs onpackaging/,pyproject.toml,requirements.txtand its own file, plus a weekly build ofmainon Mondays to catch a hidden-import break that ordinary code introduces, plus manual dispatch. iLEAPP'stest_buildsis manual only.tools/check_line_endings.shfails if any tracked text file is stored with CRLF or mixed endings, using git's own classification,git ls-files --eol. It runs intest_cases, which is required and has no paths filter, so every pull request sees it; the lint job only fires on Python. Proven both ways: currentmainpasses, and the same script against the tree before Normalize line endings to LF with a .gitattributes #14 flags the 18 CRLF files and exits 1.This PR touches the build workflow itself, so the build job runs once more here; that is the trigger working as written.
🤖 Generated with Claude Code