numat / tripplite

Python USB HID interface to Tripplite UPS battery backups.
GNU General Public License v2.0
31 stars 12 forks source link

Add Basic Unittests + GitHub Action #15

Open cooperlees opened 1 year ago

cooperlees commented 1 year ago

Lets get some very basic unittests so we can see that we can install + run said tests in different supported python versions.

I see we have pre-commit in use to run ruff etc. so I'll also add some CI to run that on PRs and merges to main (probably using the pre-commit ci and github actions to run some unittests)