chore: Update tox.ini
Signed-off-by: Wu Wenxiang <wu.wenxiang@99cloud.net> Change-Id: I1486a886f8f6a520678fdcadf10932de80d560e6
This commit is contained in:
@@ -147,7 +147,7 @@ requires python37). Considering that most systems do not support
|
||||
python37, we choose to support python38 at least.
|
||||
|
||||
- make >= 3.82
|
||||
- python >= 3.8
|
||||
- python >= 3.9
|
||||
- node >= 10.22.0 (Optional if you only develop with apiserver)
|
||||
- yarn >= 1.22.4 (Optional if you only develop with apiserver)
|
||||
|
||||
|
||||
6
tox.ini
6
tox.ini
@@ -68,14 +68,16 @@ commands =
|
||||
black --check --diff --color skyline_apiserver --line-length 98
|
||||
flake8 {posargs} .
|
||||
|
||||
[testenv:py{3,38,39,310,311}]
|
||||
[testenv:py{3,39,310,311,312,313}]
|
||||
setenv =
|
||||
PYTHONPATH = {toxinidir}
|
||||
description =
|
||||
Run pytest.
|
||||
deps =
|
||||
{[testenv]deps}
|
||||
extras =
|
||||
commands =
|
||||
pytest
|
||||
pytest {posargs:-v --cov=skyline_apiserver --cov-report html}
|
||||
|
||||
[testenv:docs]
|
||||
deps =
|
||||
|
||||
Reference in New Issue
Block a user