Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a workflow for testing on Windows #25

Merged
merged 8 commits into from
Feb 20, 2024

Conversation

jptomoya
Copy link
Contributor

Add a workflow for testing on Windows

What's this Pull Request for?

Choose one or more of the following items.

  • Bug fix
  • Add/Remove feature
  • Cleaning code (including optimization/typo fix)
  • Others

Please explain the detail here:
This PR adds a workflow for testing on Windows and includes the following changes:

  • Fixed typo in the method name of WinPipe class that may have been introduced in commit 30526b9.
  • Fixed an ignored exception in WinProcess.__del__ when CreateProcess fails.
  • Skipped tests intended for the Linux platform when running on Windows (test_elf_*.py and test_fsb.py).
  • Fixed an issue where the process remains after calling close() on Windows.

What have you done so far?

Tell me what you've tested to assure your change is right.

  • All tests passed on your machine (python -m unittest)
  • Added test cases for new feature
  • Nothing / Test not required

(It's not mandatory to check even one of them, but test cases make it easy for the author to review your PR.)

Comment

test_elf_*.py系のテストはWindowsのサポート外ということでスキップ、
test_fsb.pyはWindows向けのテストが未実装というすみ分けにしています。

@jptomoya
Copy link
Contributor Author

Oh, noticed the conflict. I'll resolve it.

@jptomoya
Copy link
Contributor Author

@ptr-yudai The job for Python 3.9 seems to have hung for some reason. Could you re-run it?

@ptr-yudai
Copy link
Owner

lgtomoya

@ptr-yudai ptr-yudai merged commit 50bf0c6 into ptr-yudai:master Feb 20, 2024
10 checks passed
@jptomoya jptomoya deleted the test-on-windows branch February 20, 2024 07:47
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