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

index 198f8f80b0c77110fa2d1459b4239a4aa9a26f16..2de283e35cdcc6bd22bbcffa94d844cf40d71574 100644 (file)
@@ -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 50cefb2204c1040a41a6cfd55c0058246a9908f6..c5d6ddb9ab45ef231d106b9725aee8b7ab36cfe7 100644 (file)
--- 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