chirp/tox.ini
Dan Smith 7eec52b0b8 Remove python3 test progress tracking
The share of python3-uncompliant drivers has dropped to such a small
fraction that I've forgotten to enforce that new drivers be added to
the matrix.

So, at this point, it's time to flip the whitelist to a blacklist and
just mark the drivers that haven't been tested. This removes the
matrix and generation script, content from the makesupported target,
and instructions from the PR template. It replaces those with a simple
list of drivers in tests/py3-untested-drivers.txt
2024-08-27 14:53:06 -07:00

73 lines
1.3 KiB
INI

[tox]
envlist = style,unit,driver
[flake8]
builtins =
_,
ngettext,
[testenv]
sitepackages = True
passenv =
HOME
CHIRP_TESTS
CHIRP_TESTIMG
CHIRP_TEST_BITWISE_STRICT_BYTES
PIP_INDEX_URL
PIP_TRUSTED_HOST
allowlist_externals = bash
[testenv:style]
sitepackages = False
deps =
pep8
flake8
mypy
commands =
python ./tools/cpep8.py {posargs}
mypy --config-file .mypy.ini chirp --exclude='chirp/share/*'
[textenv:py3clean]
commands =
py3clean chirp tests
[testenv:unit]
setenv =
PYTHONPATH=../..
deps =
-rtest-requirements.txt
commands =
pytest --disable-warnings --html=unit_report.html -v tests/unit {posargs}
[testenv:driver]
setenv =
PYTHONPATH=../..
CHIRP_DEBUG=y
deps =
{[testenv:unit]deps}
pytest-xdist
commands =
pytest --disable-warnings --html=driver_report.html -v tests/test_drivers.py -n auto {posargs}
[testenv:fast-driver]
setenv =
PYTHONPATH=../..
CHIRP_DEBUG=y
deps =
{[testenv:unit]deps}
pytest-xdist
commands =
python tools/fast-driver.py --disable-warnings --html=driver_report.html -v tests/test_drivers.py -n auto {posargs}
[pytest]
xfail_strict = true
render_collapsed = all
[testenv:makesupported]
allowlist_externals =
git
deps =
-rtest-requirements.txt
commands =
python chirp/share/make_supported.py model_support.html