Skip to content

Commit 72283e6

Browse files
committed
Update list of Python versions.
This means dropping support for Python 2.6! Note the additional quotation marks for 3.10. Otherwise this will be interpreted as 3.1!
1 parent 13bacac commit 72283e6

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# Fixes octo-org/octo-repo#100
2-
31
name: Run tests with tox
42

53
on:
@@ -11,7 +9,9 @@ jobs:
119
runs-on: ubuntu-latest
1210
strategy:
1311
matrix:
14-
python-version: [2.7, 3.6, 3.7, 3.8, 3.9]
12+
# Not all Python versions are avalaible for linux AND x64
13+
# https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
14+
python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9, '3.10']
1515

1616
steps:
1717
- uses: actions/checkout@v1

tox.ini

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,32 @@
11
[tox]
2-
envlist = py26,py27,py33,py34,py35,py36,py37
2+
envlist = py27,py33,py34,py35,py36,py37,py38,py39,py310
33
recreate = True
44

55
[tox:hudson]
66
downloadcache = {toxworkdir}/_download
77

88
[gh-actions]
99
python =
10-
2.6: py26
1110
2.7: py27
1211
3.3: py33
1312
3.4: py34
1413
3.5: py35
1514
3.6: py36
1615
3.7: py37
16+
3.8: py38
17+
3.9: py39
18+
3.10: py310
1719

1820
[testenv]
21+
description = run test suite under {basepython}
1922
deps =
20-
pytest>=2.0.0
23+
pytest >=4, <7; python_version<'3.10'
24+
pytest >=6.2.5, <7; python_version>='3.10'
25+
# pytest-cov >=2, <3
26+
pytest-cov
2127
six
2228
requests
2329
commands =
2430
py.test -v \
2531
--junitxml=junit-{envname}.xml \
26-
[] # substitute with tox' positional arguments
27-
32+
{posargs}

0 commit comments

Comments
 (0)