Skip to content

Build on packaging changes and weekly, and enforce LF in the required test job - #16

Merged
abrignoni merged 2 commits into
mainfrom
ci/build-trigger-and-eol
Sep 3, 2026
Merged

abrignoni merged 2 commits into
mainfrom
ci/build-trigger-and-eol

Conversation

@abrignoni

Copy link
Copy Markdown
Owner

Two CI changes.

  • test_builds no longer runs on every change under gleapp/. 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 on packaging/, pyproject.toml, requirements.txt and its own file, plus a weekly build of main on Mondays to catch a hidden-import break that ordinary code introduces, plus manual dispatch. iLEAPP's test_builds is manual only.
  • tools/check_line_endings.sh fails if any tracked text file is stored with CRLF or mixed endings, using git's own classification, git ls-files --eol. It runs in test_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: current main passes, 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

abrignoni and others added 2 commits September 3, 2026 01:07
…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]>
@abrignoni
abrignoni merged commit 703f12a into main Sep 3, 2026
10 checks passed
@abrignoni
abrignoni deleted the ci/build-trigger-and-eol branch September 3, 2026 05:14
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