Skip to content

CI on windows - #512

Merged
ocots merged 4 commits into
mainfrom
fix/ci-windows
Jul 27, 2026
Merged

CI on windows#512
ocots merged 4 commits into
mainfrom
fix/ci-windows

Conversation

@ocots

@ocots ocots commented Jul 27, 2026

Copy link
Copy Markdown
Member

No description provided.

@ocots ocots added the run ci Trigger CI label Jul 27, 2026
ocots and others added 3 commits July 27, 2026 16:27
relpath returns backslash-separated paths on Windows, which silently
broke every glob-based test selection (including the default
"suite/*/test_*") since patterns are always written with forward
slashes — resulting in 0 tests being collected and CI reporting a
false green.

Add a CI job that dry-runs test selection with and without arguments
on windows-latest/ubuntu-latest to catch this class of regression
going forward.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
…er fix

Also make the new test-selection-smoke CI job robust to a Windows-only
Pkg.test quirk: after a cold precompile, julia can exit non-zero after
already printing "tests passed" with no error output, which pipefail
was turning into a false failure of the smoke job. Judge success from
the dry-run listing content instead of julia's raw exit code.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
sed -n '/^Dry run:/,$p' captured everything to end of file, including
Pkg's own trailing "Testing CTBase tests passed" status line printed
after run_tests returns. That extra line inflated the "no selection"
count by one (harmless there) but broke the "suite/data" prefix check,
since it doesn't start with "suite/data/". Match "^suite/" directly
instead, which only ever matches real test paths.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@ocots
ocots merged commit 85accd1 into main Jul 27, 2026
11 checks passed
@ocots
ocots deleted the fix/ci-windows branch July 27, 2026 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

run ci Trigger CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant