From: Oleg Broytman Date: Sun, 18 Sep 2022 16:51:31 +0000 (+0300) Subject: CI(GHActions): Show `tox`/`pytest` version X-Git-Tag: 0.2.0.post1~23 X-Git-Url: https://git.phdru.name/?p=m_librarian.git;a=commitdiff_plain;h=9dce12f24c595384ab3cbe89843ea9afa0fcfc1f CI(GHActions): Show `tox`/`pytest` version --- diff --git a/.github/workflows/run-tests.yaml b/.github/workflows/run-tests.yaml index 4eeebae..2c9489e 100644 --- a/.github/workflows/run-tests.yaml +++ b/.github/workflows/run-tests.yaml @@ -60,4 +60,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 0b32633..80945b6 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 passenv = CI DISTUTILS_USE_SDK MSSdk INCLUDE LIB WINDIR @@ -39,6 +40,7 @@ commands = [testenv:{py27,py34,py35,py36,py37,py38,py39,py310}-flake8] deps = flake8 + pytest < 7.0 commands = {[testenv]commands} flake8