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

index 4bd43ad584db7cd639a2edc8b303cfacb411b8ba..a8ac5d5ecb445412146cb5f9525cf1c7a5f7adf2 100644 (file)
@@ -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 925ad726e12a929753e84dc1e943ae590ab2247b..13c53c449aa4c960c7344359e17913bb468c3b50 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
     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