From: Oleg Broytman Date: Sun, 18 Sep 2022 17:13:07 +0000 (+0300) Subject: CI(GHActions): Show `tox`/`pytest` version X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=ac88391a6d8022ec994225545b6e8a319daf93f4;p=sqlconvert.git CI(GHActions): Show `tox`/`pytest` version --- diff --git a/.github/workflows/run-tests.yaml b/.github/workflows/run-tests.yaml index 4bd43ad..a8ac5d5 100644 --- a/.github/workflows/run-tests.yaml +++ b/.github/workflows/run-tests.yaml @@ -72,4 +72,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 925ad72..13c53c4 100644 --- a/tox.ini +++ b/tox.ini @@ -16,6 +16,7 @@ basepython = commands = {envpython} --version {envpython} -c "import struct; print(struct.calcsize('P') * 8)" + {envpython} -m pytest --version deps = -rdevscripts/requirements/requirements_tests.txt postgres: psycopg2-binary @@ -61,6 +62,7 @@ commands = [testenv:{py27,py34,py35,py36,py37,py38,py39,py310}-flake8] deps = flake8 + pytest < 7.0 commands = {[testenv]commands} flake8