mirror of
https://github.com/jellyfin/jellyfin-apiclient-python.git
synced 2024-10-06 19:03:21 +00:00
56ba9a80bb
This adds the beginnings of a test suite, and the related infrastructure to run the test suite using tox and GitHub actions.
26 lines
372 B
INI
26 lines
372 B
INI
[tox]
|
|
envlist =
|
|
lint,
|
|
py{38,39,310,311,312},
|
|
|
|
[gh-actions]
|
|
python =
|
|
3.8: py38
|
|
3.9: py39
|
|
3.10: py310, lint
|
|
3.11: py311
|
|
3.12: py312
|
|
|
|
[testenv]
|
|
deps =
|
|
pytest
|
|
commands = pytest {posargs}
|
|
|
|
[testenv:lint]
|
|
basepython = python3.10
|
|
skip_install = true
|
|
deps =
|
|
ruff
|
|
commands =
|
|
ruff check --exit-non-zero-on-fix jellyfin_apiclient_python tests
|