| 12345678910111213141516171819202122 |
- [tox]
- env_list = py311, py312, py313
- skip_missing_interpreters = true
- [testenv]
- description = Fresh venv, install wheel-equivalent editable extras none, import and unit tests
- deps =
- grpcio>=1.83.0,<2
- protobuf>=7.35.1,<8
- pytest>=8
- commands =
- python -c "from google.protobuf import runtime_version; import grpc; import hth_sdk; from hth_sdk.generated.hth.api.v1 import hth_pb2, hth_pb2_grpc"
- pytest -q {toxinidir}/tests
- [testenv:wheel]
- description = Build wheel and install into a clean venv (manual helper)
- skip_install = true
- deps =
- build
- pytest>=8
- commands =
- python -m build --wheel {toxinidir}
|