]> git.phdru.name Git - m_librarian.git/commitdiff
CI(GHActions): Show `tox`/`pytest` version
authorOleg Broytman <phd@phdru.name>
Sun, 18 Sep 2022 16:51:31 +0000 (19:51 +0300)
committerOleg Broytman <phd@phdru.name>
Sun, 18 Sep 2022 17:06:09 +0000 (20:06 +0300)
.github/workflows/run-tests.yaml
tox.ini

index 4eeebaee9dfa9cbc6899eac1285e087eeb90f3d6..2c9489e4d554542ffb5ced181488648d45a58fb9 100644 (file)
@@ -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 0b3263368ffaaa1e733794e1c12a9acdf7773ff7..80945b6362b354acb2de23ab5c8abb94b0058c69 100644 (file)
--- 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