Repository navigation
Conversation
GitHub Actions workflow with pytest on Python 3.10 and 3.12, each with NumPy 1 and NumPy 2. PortAudio is installed so that sounddevice can be imported. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This was referenced Oct 31, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
.github/workflows/tests.yml, which runspytest testson every push and pull request, on Python 3.10 and 3.12, each with NumPy 1 and NumPy 2. PortAudio is installed so thatsounddevicecan be imported. This is the automatic testing that #23 asks for.On
developmentalone the workflow fails, because of the 7 failing tests there (3 intest_h5io.py, 4 intest_pyttasave.py): run on this branch. With #52, #53 and #60 merged the suite passes. A branch of my fork that merges this workflow with my open pull requests #49 to #111 (see #75) ran 253 tests in the four combinations, 251 passing and 2 skipped (the audio file tests of #104, since #69 makessoundfileoptional): run on the integration branch. With #112 to #124 added, the 292 tests of that branch pass locally with NumPy 1. An earlier run of that branch caught a NumPy 2 failure in the calibration, now fixed in #53.I suggest merging this after #52, #53 and #60, so that the badge of
developmentstarts green.Co-Authored-By: Claude Fable 5.1 noreply@anthropic.com