Start of the CI/CD workflow for the python library and actor. Covered: - multiple python versions with Tox (3.10+) and pytest - Docs eventually with mkdocs (commented out for now) - Linting and formatting with Ruff and prettier - Codecov - include the mypy checks when the mypy errors are resolved.
17 lines
318 B
INI
17 lines
318 B
INI
[tox]
|
|
skipsdist = true
|
|
envlist = py310, py311, py312
|
|
|
|
[gh-actions]
|
|
python =
|
|
3.10: py310
|
|
3.11: py311
|
|
3.12: py312
|
|
|
|
[testenv]
|
|
passenv = PYTHON_VERSION
|
|
allowlist_externals = poetry
|
|
commands =
|
|
poetry install -v
|
|
pytest --doctest-modules tests --cov --cov-config=pyproject.toml --cov-report=xml
|
|
# mypy
|