sherlock/tox.ini

45 lines
629 B
INI
Raw Normal View History

2024-05-19 03:09:17 +00:00
[tox]
requires =
tox >= 3
2024-05-19 03:09:17 +00:00
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:offline]
deps =
jsonschema
pytest
commands =
pytest -v -m "not online"
2024-05-19 03:09:17 +00:00
[testenv:lint]
description = Lint with Ruff
deps =
ruff
commands =
ruff check
2024-05-20 20:56:38 +00:00
[gh-actions]
2024-05-20 08:44:52 +00:00
python =
2024-05-20 20:56:38 +00:00
3.12: py312
3.11: py311
3.10: py310
3.9: py39
3.8: py38