Repository navigation
Run the test suite on Windows, not just imports - #9
Merged
Merged
Conversation
The Windows job imported every module and stopped there, so behaviour on the platform GLEAPP ships on has never been checked. Import coverage catches a module reaching for a POSIX-only name; it cannot catch a path separator, a case-insensitive filesystem or a text encoding, and those return wrong data rather than an error. Adds pytest and piexif to the Windows install and runs the suite after the import sweep. Adds tests/** to the path filter so a test-only change triggers the job. Co-Authored-By: Claude Opus 5 <[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.
The Windows job imported every module and stopped there, so behaviour on the platform GLEAPP actually ships on has never been checked.
Import coverage catches a module reaching for a POSIX-only name at import time. It cannot catch a path separator, a case-insensitive filesystem, or a text encoding, and those return wrong data rather than raising, so nothing else in CI would notice.
pytestandpiexifon the Windows runner.tests/**to the path filter, so a test-only change triggers the job.The workflow, job and check names are unchanged, so this does not disturb anything keyed on them.
This is the first time the suite has run on Windows, so the result of this PR's own check is the finding either way.
🤖 Generated with Claude Code