diff --git a/BUILD.md b/BUILD.md index 4c4f21cc..bfe14d92 100644 --- a/BUILD.md +++ b/BUILD.md @@ -5,7 +5,7 @@ This document has detailed instructions on how to build ydb-python-sdk from sour ### Pre-requisites - Install [Docker](https://docs.docker.com/engine/install/). -- Install [Python 3.8](https://www.python.org/downloads/release/python-38/) +- Install [Python](https://docs.python.org/3.8/) - Install [pip](https://pip.pypa.io/en/latest/installation/) - Install [Tox](https://tox.wiki/en/latest/install.html) @@ -43,5 +43,5 @@ tox -eblack-format Use the command below to run unit tests. ```sh -tox -epy310 +tox -epy38 ``` diff --git a/tox.ini b/tox.ini index 05167761..3bcd3e38 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py36,py38,style,pylint,black,protoc +envlist = py36,py38,py38,style,pylint,black,protoc minversion = 3.14.4 skipsdist = True ignore_basepython_conflict = true @@ -34,6 +34,14 @@ commands = commands = pytest -v -m tls --docker-compose-remove-volumes --docker-compose=docker-compose-tls.yml {posargs} +[testenv:py310] +commands = + pytest -v -m "not tls" --docker-compose-remove-volumes --docker-compose=docker-compose.yml {posargs} + +[testenv:py310-tls] +commands = + pytest -v -m tls --docker-compose-remove-volumes --docker-compose=docker-compose-tls.yml {posargs} + [testenv:black-format] skip_install = true deps = black