Skip to content

Commit

Permalink
feat: support Python 3.10
Browse files Browse the repository at this point in the history
Adds official support for Python 3.10 by including this version in the
test suite.
  • Loading branch information
languitar committed Mar 6, 2022
1 parent 43979c1 commit 292d9fc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: "3.10"
- name: Install tox
run: |
python -m pip install --upgrade pip
Expand All @@ -52,7 +52,7 @@ jobs:
strategy:
max-parallel: 4
matrix:
python-version: [3.7, 3.8, 3.9]
python-version: ["3.7", "3.8", "3.9", "3.10"]

steps:
- name: Clone repo
Expand Down
5 changes: 3 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = coverage-clean,test-py{37,38,39}, check, coverage
envlist = coverage-clean,test-py{37,38,39,310}, check, coverage

[testenv]
extras = test
Expand All @@ -18,7 +18,7 @@ commands = coverage erase
depends =

[testenv:coverage]
depends = test-py{37,38}
depends = test-py{37,38,39,310}
deps =
coverage
skip_install = true
Expand All @@ -41,3 +41,4 @@ python =
3.7: py37, coverage
3.8: py38, coverage
3.9: py39, coverage
3.10: py310, coverage

0 comments on commit 292d9fc

Please sign in to comment.