Skip to content

Run the test suite on Windows, not just imports - #9

Merged
abrignoni merged 1 commit into
mainfrom
ci/windows-pytest
Sep 3, 2026
Merged

abrignoni merged 1 commit into
mainfrom
ci/windows-pytest

Conversation

@abrignoni

Copy link
Copy Markdown
Owner

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.

  • Installs pytest and piexif on the Windows runner.
  • Runs the suite after the import sweep.
  • Adds 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

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]>
@abrignoni
abrignoni merged commit aa84d7e into main Sep 3, 2026
1 check passed
@abrignoni
abrignoni deleted the ci/windows-pytest branch September 3, 2026 02:06
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