From: Oleg Broytman Date: Sun, 18 Sep 2022 16:52:30 +0000 (+0300) Subject: CI(GHActions): Show `tox`/`pytest` version X-Git-Url: https://git.phdru.name/?p=ppu.git;a=commitdiff_plain;h=f21252c924ea71af5f52cda8d819e229403301b1 CI(GHActions): Show `tox`/`pytest` version --- diff --git a/.github/workflows/run-tests.yaml b/.github/workflows/run-tests.yaml index 198f8f8..2de283e 100644 --- a/.github/workflows/run-tests.yaml +++ b/.github/workflows/run-tests.yaml @@ -58,4 +58,5 @@ jobs: - name: Run tox run: | python -c "import os; print(os.environ['TOXENV'])" + tox --version tox diff --git a/tox.ini b/tox.ini index 50cefb2..c5d6ddb 100644 --- a/tox.ini +++ b/tox.ini @@ -17,6 +17,7 @@ basepython = commands = {envpython} --version {envpython} -c "import struct; print(struct.calcsize('P') * 8)" + {envpython} -m pytest --version deps = -rdevscripts/requirements/requirements_tests.txt @@ -28,6 +29,7 @@ commands = [testenv:{py27,py34,py35,py36,py37,py38,py39,py310}-flake8] deps = flake8 + pytest < 7.0 commands = {[testenv]commands} flake8