Files
cmake-language-server/tox.ini
2021-03-28 23:49:27 +09:00

29 lines
565 B
INI

[tox]
isolated_build = True
skipsdist = True
envlist = py36, py37, py38, py39, lint
[gh-actions]
python =
3.6: py36
3.7: py37
3.8: py38, lint
3.9: py39
[testenv]
allowlist_externals =
poetry
git
skip_install = true
passenv = INCLUDE LIB LIBPATH Platform VCTools* VSCMD_* WindowsSDK*
commands_pre =
poetry install
commands =
poetry run pytest --cov-report=term --cov-report=xml --cov=src -sv tests
[testenv:lint]
commands =
poetry run pysen run format
git diff --exit-code --ignore-submodules
poetry run pysen run lint