Skip to content

Add GitHub Actions CI: test suite, Python version matrix, and - #56

Merged
gbernardino merged 1 commit into
mainfrom
ci/add-github-actions-tests
Sep 14, 2026
Merged

gbernardino merged 1 commit into
mainfrom
ci/add-github-actions-tests

Conversation

@gbernardino

Copy link
Copy Markdown
Collaborator

… import bug fix

Adds a pytest suite (import/smoke tests, txdelay/getparam sanity checks, and golden-master regression tests for simus/pfield with a dB-bucketed tolerance that tolerates BLAS-backend rounding noise without masking real regressions) plus a GitHub Actions workflow that installs the package and runs it across Python 3.9-3.13.

… import bug fix

Adds a pytest suite (import/smoke tests, txdelay/getparam sanity checks, and
golden-master regression tests for simus/pfield with a dB-bucketed tolerance
that tolerates BLAS-backend rounding noise without masking real regressions)
plus a GitHub Actions workflow that installs the package and runs it across
Python 3.9-3.13.

Testing against the declared minimum Python version (3.9) surfaced a real
bug: txdelay3.py used PEP 604 `X|Y` union type hints without deferred
annotation evaluation, crashing `import pymust` on 3.9 and 3.8. Fixed by
adding `from __future__ import annotations`, consistent with the rest of the
codebase. requires-python is bumped to >=3.9 to match what's actually tested
(NumPy 2.0+, needed by simus.py's np.concat usage, dropped 3.8 support).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@gbernardino
gbernardino merged commit a96be54 into main Sep 14, 2026
5 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.

1 participant