Files
cmake-language-server/tox.ini
Charlie Vieth 981150e308 poetry: update pygls to version 0.12 (#55)
Update pygls to version 0.12 to remove a conflict with
jedi-language-server which requires pygls "^0.12" and set the minimum
python version to py37 (as required by pygls 0.12).

This commit also bumps the cmake-language-server version to 0.1.36
2022-08-04 22:28:14 +09:00

38 lines
690 B
INI

[tox]
isolated_build = True
skipsdist = True
envlist = py{36,37,38,39,310}-{linux,windows}
[gh-actions]
python =
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