From ac88391a6d8022ec994225545b6e8a319daf93f4 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 18 Sep 2022 20:13:07 +0300 Subject: [PATCH] CI(GHActions): Show `tox`/`pytest` version --- .github/workflows/run-tests.yaml | 1 + tox.ini | 2 ++ 2 files changed, 3 insertions(+) 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 -- 2.39.5