Skip to content

fix: integration test failing on Windows CI - #4

Merged
bobbyxng merged 2 commits into
mainfrom
fix-win-ci-tests
Sep 25, 2026
Merged

bobbyxng merged 2 commits into
mainfrom
fix-win-ci-tests

Conversation

@bobbyxng

@bobbyxng bobbyxng commented Sep 25, 2026 •

Copy link
Copy Markdown
Collaborator

pytest's tmp_path can land on a different drive than the checkout on Windows runners, and Snakemake's relative-path handling then fails with "path is on mount 'D:', start on mount 'C:'".

Summary of changes in this pull request

  • Use a temp directory under the checkout itself instead, so it's always on the same drive as the Snakefile and conda prefix.

Reviewer checklist

  • There are no pip dependencies in the module's environment files (workflow/envs/).
  • All rules use pathvars (e.g., <results>) in their inputs and outputs.
  • The integration test-suite is successful, including:
    • pre-commit.ci tests pass.
    • tests pass for all relevant OS configurations (linux, osx, windows).

pytest's tmp_path can land on a different drive than the checkout on
Windows runners, and Snakemake's relative-path handling then fails with
"path is on mount 'D:', start on mount 'C:'". Use a temp directory under
the checkout itself instead, so it's always on the same drive as the
Snakefile and conda prefix.
@bobbyxng bobbyxng changed the title Fix integration test failing on Windows CI fix: integration test failing on Windows CI Sep 25, 2026
@bobbyxng
bobbyxng merged commit 24e9d2b into main Sep 25, 2026
5 checks passed
@bobbyxng
bobbyxng deleted the fix-win-ci-tests branch September 25, 2026 09:29
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