Skip to content

Commit f8f013c

Browse files
authored
CI: fix tox set-up for legacy Python versions (#1123)
* fix tox set-up for legacy Python versions * run tox in verbose mode
1 parent 3d81299 commit f8f013c

File tree

5 files changed

+9
-3
lines changed

5 files changed

+9
-3
lines changed

testkit/stress.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
if __name__ == "__main__":
55
# Until below works
66
sys.exit(0)
7-
cmd = ["python", "-m", "tox", "-c", "tox-performance.ini"]
7+
cmd = ["python", "-m", "tox", "-vv", "-c", "tox-performance.ini"]
88
uri = "%s://%s:%s" % (
99
os.environ["TEST_NEO4J_SCHEME"],
1010
os.environ["TEST_NEO4J_HOST"],

testkit/unittests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@
2222

2323

2424
if __name__ == "__main__":
25-
run_python(["-m", "tox", "-c", "tox-unit.ini"])
25+
run_python(["-m", "tox", "-vv", "-c", "tox-unit.ini"])

tox-performance.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
[tox]
2+
# downgrade virtualenv to 20.21.0 have python 3.6 and earlier support
3+
# https://github.com/tox-dev/tox/issues/2989
4+
requires = virtualenv<20.22.0
25
envlist =
36
py34
47
py35

tox-unit.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
[tox]
2+
# downgrade virtualenv to 20.21.0 have python 3.6 and earlier support
3+
# https://github.com/tox-dev/tox/issues/2989
4+
requires = virtualenv<20.22.0
25
envlist =
36
py36
47
py37

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
# downgrade virtualenv to 20.21.0 have python 3.6 support
2+
# downgrade virtualenv to 20.21.0 have python 3.6 and earlier support
33
# https://github.com/tox-dev/tox/issues/2989
44
requires = virtualenv<20.22.0
55
envlist =

0 commit comments

Comments
 (0)