-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: back to tox.ini until tox issue 3457 is solved
- Loading branch information
1 parent
8cddb40
commit 9124121
Showing
2 changed files
with
38 additions
and
62 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,38 @@ | ||
[tox] | ||
env_list = py38, py39, py310, py311, py312, py313, lint | ||
no_package = true | ||
|
||
[gh] | ||
python = | ||
3.13 = 3.13, lint | ||
3.12 = 3.12 | ||
3.11 = 3.11 | ||
3.10 = 3.10 | ||
3.9 = 3.9 | ||
3.8 = 3.8 | ||
|
||
[testenv:lint] | ||
whitelist_externals = | ||
build | ||
sphinx-build | ||
twine | ||
extras = | ||
test | ||
doc | ||
dev | ||
commands = | ||
python -m build | ||
sphinx-build docs docs/_build | ||
twine check dist/* | ||
|
||
[testenv] | ||
conda_deps= | ||
gdal>=3.3 | ||
whitelist_externals = | ||
pytest | ||
extras = | ||
test | ||
commands_pre = | ||
pip install . | ||
commands = | ||
pytest -s --cov=pylandstats --cov-append --cov-report=xml --cov-report term-missing tests |