Skip to content

add windows support#12

Merged
amoschoomy merged 3 commits intomainfrom
ci-test
Feb 20, 2026
Merged

add windows support#12
amoschoomy merged 3 commits intomainfrom
ci-test

Conversation

@amoschoomy
Copy link
Contributor

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds Windows support to the project by making changes to ensure cross-platform compatibility in file I/O operations and test assertions.

Changes:

  • Added Windows to the CI/CD test matrix to run tests on Windows, macOS, and Linux
  • Fixed file encoding in edge file parsing to ensure consistent text handling across platforms
  • Migrated test assertions from numpy to PyTorch for better device/dtype compatibility

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
.github/workflows/ci.yml Added windows-latest to the OS matrix to enable Windows CI testing
src/tcrgnn/graph_gen/_io.py Added encoding="utf-8" and newline="" parameters to file.open() for consistent cross-platform text file handling
tests/generate_graph_tests/test_build_graph.py Changed from np.allclose on .numpy() conversions to torch.allclose with proper device/dtype matching for better cross-platform tensor comparison

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@amoschoomy amoschoomy merged commit 01117d2 into main Feb 20, 2026
11 checks passed
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.

2 participants