Skip to content

[INTERNAL] run the test suite on every push and pull request - #61

Open
aguirreSL wants to merge 1 commit into
PyTTaMaster:developmentfrom
aguirreSL:dev-ci_tests
Open

aguirreSL wants to merge 1 commit into
PyTTaMaster:developmentfrom
aguirreSL:dev-ci_tests

Conversation

@aguirreSL

@aguirreSL aguirreSL commented Oct 31, 2026 •

Copy link
Copy Markdown

Adds .github/workflows/tests.yml, which runs pytest tests on every push and pull request, on Python 3.10 and 3.12, each with NumPy 1 and NumPy 2. PortAudio is installed so that sounddevice can be imported. This is the automatic testing that #23 asks for.

On development alone the workflow fails, because of the 7 failing tests there (3 in test_h5io.py, 4 in test_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 makes soundfile optional): 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 development starts green.

Co-Authored-By: Claude Fable 5.1 noreply@anthropic.com

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 branch has not been deployed

No deployments
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