2024-05-19 03:09:17 +00:00
|
|
|
[tox]
|
|
|
|
requires =
|
|
|
|
tox >= 4
|
|
|
|
envlist =
|
|
|
|
lint
|
|
|
|
py313
|
|
|
|
py312
|
|
|
|
py311
|
|
|
|
py310
|
|
|
|
py39
|
|
|
|
py38
|
|
|
|
|
|
|
|
[testenv]
|
2024-05-20 08:44:52 +00:00
|
|
|
description = Attempt to build and install the package
|
|
|
|
deps =
|
|
|
|
coverage
|
|
|
|
jsonschema
|
|
|
|
pytest
|
|
|
|
allowlist_externals = coverage
|
2024-05-19 03:09:17 +00:00
|
|
|
commands =
|
2024-05-20 08:44:52 +00:00
|
|
|
coverage run --source=sherlock --module pytest -v
|
|
|
|
coverage report --show-missing
|
2024-05-19 03:09:17 +00:00
|
|
|
|
|
|
|
[testenv:lint]
|
|
|
|
description = Lint with Ruff
|
|
|
|
deps =
|
|
|
|
ruff
|
|
|
|
commands =
|
|
|
|
ruff check
|
|
|
|
|
2024-05-20 08:44:52 +00:00
|
|
|
[gh]
|
|
|
|
python =
|
|
|
|
3.13 = py31
|
|
|
|
3.12 = py312
|
|
|
|
3.11 = py311
|
|
|
|
3.10 = py310
|
|
|
|
3.9 = py39
|
|
|
|
3.8 = py38
|