Skip to content

Test Fixtures#5

Merged
sunipkm merged 19 commits into
sunipkm:masterfrom
abukowski21:develop
Jun 30, 2026
Merged

Test Fixtures#5
sunipkm merged 19 commits into
sunipkm:masterfrom
abukowski21:develop

Conversation

@abukowski21

Copy link
Copy Markdown
Contributor

(test): Implement test fixtures

Big changes here!! No functionality changes, but a decent amount of tidying & stuff

Summary

Create tests, run them with GitHub Actions, tidy up install

Changes

  • Add ci.yml with tests that run on a matrix of [Linux, MacOS, and Windows] x Python== [3.11, 3.12, 3.14]
  • Tests run on each push to master/develop & PR to master
  • Fix Windows install (recommend people use a temp path so pip + meson doesn't make deeply nested .obj files, recommend conda for gfortran install)
  • Tidy up dependencies. Bump python version for ISO parsing
  • Move tests/*.py to Examples/
  • un-gitignore Examples/*png & render those images in README.md
  • Create new tests!
  • Create CHANGELOG.md + CONTRIBUTING.md

Tests should be easy to add to. I just hit some of the basic functionality.

Hope this helps! Let me know if you have questions or want to see any changes :)

- move meson & ninja out of runtime deps (they're both listed as build deps)
- add matplotlib & python-dateutil
- smoke test for now, just attempt to install
- runs ***on*** Linux, MacOS, Windows
- runs ***with*** Python 3.11, 3.12, 3.14
Python 3.11 added a UTC parser `datetime.datetime.fromisoformat()`

Since the datetime in examples.py's docstring is already required to be in ISO format, it should be an OK change

Side effect: fewer pythons supported => fewer pythons tested
Mostly just add the temp-path stuff & some fluff around how to install.

add conda + Winlibs sections:
- conda is common & may be easier than MSYS2/Winlibs

- Move Winsys & MSYS2 to collapsable sections, recommend using conda!
- Note in installation about following sections one header before
- will run the "Examples" as part of the test suite, just to be sure nothing breaks!
- These examples are a good candidate for deletion
@sunipkm sunipkm merged commit fb8c946 into sunipkm:master Jun 30, 2026
9 checks passed
@sunipkm

sunipkm commented Jun 30, 2026

Copy link
Copy Markdown
Owner

Thanks Aaron for all your hard work!

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