Skip to content

Commit 189bc76

Browse files
authored
Add python 3.10 to CI. (#746)
Finally, sorry for the noise.
1 parent 433c62a commit 189bc76

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ jobs:
2020
name: ${{ matrix.task.name }} - ${{ matrix.os.name }} ${{ matrix.python.name }} ${{ matrix.arch.name }}
2121
runs-on: ${{ matrix.os.runs-on }}
2222
container: ${{ matrix.os.container[matrix.python.docker] }}
23-
# present runtime seems to be about 1 minute 30 seconds
23+
# present runtime seems to be about 2 minutes
24+
# with pypy being the exception (10 minutes)
2425
timeout-minutes: 15
2526
strategy:
2627
fail-fast: false
@@ -37,6 +38,7 @@ jobs:
3738
3.7: docker://python:3.7-buster
3839
3.8: docker://python:3.8-buster
3940
3.9: docker://python:3.9-buster
41+
3.10: docker://python:3.10-buster
4042
pypy3: docker://pypy:3-stretch
4143
- name: macOS
4244
runs-on: macos-latest
@@ -66,6 +68,12 @@ jobs:
6668
docker: 3.9
6769
matrix: 3.9
6870
implementation: cpython
71+
- name: CPython 3.10
72+
tox: py310
73+
action: '3.10'
74+
docker: '3.10'
75+
matrix: '3.10'
76+
implementation: cpython
6977
- name: PyPy 3.7
7078
tox: pypy37
7179
action: pypy-3.7

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# directory.
55

66
[tox]
7-
envlist = py{37,38,39,py37}
7+
envlist = py{37,38,39,310,py37}
88

99
[testenv]
1010
deps = -r requirements-tests.txt

0 commit comments

Comments
 (0)