-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: revert to tox.ini (see github.com/tox-dev/tox/issues/3457)
- Loading branch information
1 parent
9657e62
commit 0941763
Showing
2 changed files
with
37 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
[tox] | ||
# add py313 when https://github.com/microsoft/LightGBM/pull/6668 is merged | ||
env_list = py38, py39, py310, py311, py312, lint | ||
|
||
[gh] | ||
python = | ||
3.12 = 3.12, lint | ||
3.11 = 3.11 | ||
3.10 = 3.10 | ||
3.9 = 3.9 | ||
3.8 = 3.8 | ||
|
||
[testenv:lint] | ||
conda_deps= | ||
lightgbm | ||
allowlist_externals = | ||
build | ||
sphinx-build | ||
twine | ||
extras = | ||
test | ||
doc | ||
dev | ||
commands = | ||
python -m build -s | ||
sphinx-build docs docs/_build | ||
twine check dist/* | ||
|
||
[testenv] | ||
conda_deps= | ||
lightgbm | ||
allowlist_externals = | ||
pytest | ||
extras = | ||
test | ||
commands = | ||
pytest -s --cov=detectree --cov-append --cov-report=xml --cov-report term-missing tests |