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

Disable unit tests on Windows #415

Merged
merged 1 commit into from
Dec 14, 2023
Merged

Disable unit tests on Windows #415

merged 1 commit into from
Dec 14, 2023

Conversation

bifurcation
Copy link
Contributor

This PR disables unit testing in Windows CI runs. As the comment in the workflow file notes for posterity, we have two conflicting bugs. A doctest bug discovered through #413 which causes doctest to fail when built with ASAN, and a GitHub Actions bug that causes the tests to hang when not built with ASAN.

Disabling unit tests on Windows is unfortunate, but I don't think it's a huge loss in terms of test fidelity. The behaviors we're testing are higher-level things that I would expect to be pretty portable, not dependent on anything platform-specific.

The long-term fix here probably entails moving to a new test framework, since it looks like doctest is essentially unmaintained. My understanding is that Catch2 is a pretty standard alternative, and appears to be better maintained than doctest. The syntax seems similar (I think by design), so it may be pretty straightforward to change over.

Copy link
Contributor

@glhewett glhewett left a comment

Choose a reason for hiding this comment

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

I agree that this is not an ideal situation. I know that you are already working on a unit test replacement, so let's keep moving forward.

@bifurcation bifurcation merged commit c54d318 into main Dec 14, 2023
14 checks passed
This was referenced Dec 14, 2023
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