Files
cmake-language-server/tox.ini
2022-04-30 02:28:35 +09:00

39 lines
704 B
INI

[tox]
isolated_build = True
skipsdist = True
envlist = py{36,37,38,39,310}-{linux,windows}
[gh-actions]
python =
3.6: py36
3.7: py37
3.8: py38
3.9: py39
3.10: py310
[gh-actions:env]
os =
ubuntu-18.04: linux
windows-2019: windows
[testenv]
allowlist_externals =
poetry
git
skip_install = true
passenv = *
commands_pre =
poetry install
commands =
pytest --cov-report=term --cov-report=xml --cov=src -sv tests
pip install "pysen[lint]"
pip install "black>=22.3.0"
pysen run format
git diff --exit-code --ignore-submodules
pysen run lint
[testenv:py310-windows]
commands =
pytest --cov-report=term --cov-report=xml --cov=src -sv tests