test: add tests

This commit is contained in:
2023-11-09 16:33:51 +08:00
parent 14f4cef426
commit b14c3e82b4
8 changed files with 165 additions and 0 deletions

16
tox.ini Normal file
View File

@ -0,0 +1,16 @@
[tox]
env_list =
py311
py310
py39
py38
minversion = 4.11.3
[testenv]
description = run the tests with pytest
package = wheel
wheel_build_env = .pkg
deps =
pytest==7.4.3
commands =
pytest {tty:--color=yes} {posargs}