Skip to content

Commit 5cc7915

Browse files
committed
Extend test matrix up to 3.12 and format python versions as strings
1 parent 487793d commit 5cc7915

File tree

3 files changed

+36
-9
lines changed

3 files changed

+36
-9
lines changed

.github/workflows/ci.yml

Lines changed: 31 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,25 @@ jobs:
1111
strategy:
1212
matrix:
1313
os: [macos-latest, windows-latest]
14-
python-version: [2.7, 3.5, 3.6, 3.7, 3.8, pypy-2.7, pypy-3.7]
14+
python-version: [
15+
"2.7",
16+
"3.5",
17+
"3.6",
18+
"3.7",
19+
"3.8",
20+
"3.9",
21+
"3.10",
22+
"3.11",
23+
"3.12",
24+
"pypy-2.7",
25+
"pypy-3.7"
26+
]
1527
exclude:
1628
- os: windows-latest
17-
python-version: 3.6
29+
python-version: "3.6"
1830
include:
1931
- os: ubuntu-latest
20-
python-version: 3.7
32+
python-version: "3.7"
2133
steps:
2234
- uses: actions/checkout@v2
2335
- name: Setup Python environment
@@ -65,13 +77,25 @@ jobs:
6577
strategy:
6678
matrix:
6779
os: [macos-latest, windows-latest]
68-
python-version: [2.7, 3.5, 3.6, 3.7, 3.8, pypy-2.7, pypy-3.7]
80+
python-version: [
81+
"2.7",
82+
"3.5",
83+
"3.6",
84+
"3.7",
85+
"3.8",
86+
"3.9",
87+
"3.10",
88+
"3.11",
89+
"3.12",
90+
"pypy-2.7",
91+
"pypy-3.7"
92+
]
6993
exclude:
7094
- os: windows-latest
71-
python-version: 3.6
95+
python-version: "3.6"
7296
include:
7397
- os: ubuntu-latest
74-
python-version: 3.7
98+
python-version: "3.7"
7599
steps:
76100
- uses: actions/checkout@v2.3.4
77101
- name: Setup Python environment
@@ -82,8 +106,7 @@ jobs:
82106
run: |
83107
python -m pip install --upgrade pip
84108
pip install flake8 pytest
85-
pip install -r requirements.txt
86-
pip install -r test/requirements.txt
109+
pip install -r requirements.txt
87110
python setup.py install
88111
- name: Run Integration Tests
89112
env:

setup.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@
7777
'Programming Language :: Python :: 3.6',
7878
'Programming Language :: Python :: 3.7',
7979
'Programming Language :: Python :: 3.8',
80+
'Programming Language :: Python :: 3.9',
81+
'Programming Language :: Python :: 3.10',
82+
'Programming Language :: Python :: 3.11',
83+
'Programming Language :: Python :: 3.12',
8084
'Programming Language :: Python :: Implementation :: CPython',
8185
'Programming Language :: Python :: Implementation :: PyPy',
8286
'Topic :: Software Development :: Libraries :: Python Modules',

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22

3-
envlist = py{27,34,35,36,37,38,39-dev,py,py3},check,lint,docs,test_unit,coverage
3+
envlist = py{27,34,35,36,37,38,39,310,311,312,py,py3},check,lint,docs,test_unit,coverage
44
skip_missing_interpreters = true
55

66
[flake8]

0 commit comments

Comments
 (0)