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

build: prepare to unit test #129

Merged
merged 1 commit into from
May 3, 2024
Merged

build: prepare to unit test #129

merged 1 commit into from
May 3, 2024

Conversation

StoneyJackson
Copy link
Member

@StoneyJackson StoneyJackson commented Apr 29, 2024

Related #119

build: prepare to unit test

Adopt Technologies:

* PDM - "A modern Python package and dependency manager supporting
the latest PEP standards."
* pyproject.toml - Used by PDM to manage project dependencies and metadata.
* pytest - A nice modern unit testing framework for python.

Reorganized tests, and removed local-min-max test.
They were breaking and are VERY slow. They were intended to mimic
those that run in CI. But those are passing.

Added bin/test/units.bash to run unit tests. Place unit tests in tests/unit/.

No longer supporting python < 3.9.

---

Related to #119
Closes #131

Reviewing

  1. Open in GitPod
  2. Try
    bin/test/units.bash                # doesn't do much, but it should run
    bin/test/everything.bash      # should include the above

@StoneyJackson StoneyJackson mentioned this pull request Apr 30, 2024
Adopt Technologies:

* PDM - "A modern Python package and dependency manager supporting
the latest PEP standards."
* pyproject.toml - Used by PDM to manage project dependencies and metadata.
* pytest - A nice modern unit testing framework for python.

Reorganized tests, and removed local-min-max test.
They were breaking and are VERY slow. They were intended to mimic
those that run in CI. But those are passing.

Added bin/test/units.bash to run unit tests. Place unit tests in tests/unit/.

No longer supporting python < 3.9.

---

Related to #119
Closes #131

Thanks to
Co-authored-by: Akshar Patel <aksharpatel1233@gmail.com>
He performed the initial research for pyproject.toml
@StoneyJackson StoneyJackson marked this pull request as ready for review May 1, 2024 00:11
@StoneyJackson StoneyJackson requested a review from AksharP5 May 1, 2024 00:15
@StoneyJackson StoneyJackson changed the title build: use pyproject.toml to manage python deps build: prepare to unit test May 1, 2024
@StoneyJackson StoneyJackson merged commit f85d32f into main May 3, 2024
4 checks passed
@StoneyJackson StoneyJackson deleted the pyproject branch May 3, 2024 20:26
Copy link

🎉 This PR is included in version 8.0.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants