Skip to content

Commit

Permalink
Added testing for Python 3.10 (#1470)
Browse files Browse the repository at this point in the history
Co-authored-by: Carlton Gibson <[email protected]>
  • Loading branch information
amalshaji and carltongibson authored Feb 16, 2022
1 parent 3635b2b commit dbc69e7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]

steps:
- uses: actions/checkout@v2
Expand All @@ -21,12 +21,12 @@ jobs:
python -m pip install --upgrade pip setuptools
- name: Install dependencies
run: |
python -m pip install coverage tox tox-factor unittest-xml-reporting
python -m pip install coverage tox tox-py unittest-xml-reporting
- name: Run tox
run: |
python -m pip --version
python -m tox --version
python -m tox -f py$(python --version 2>&1 | cut -c 8,10)
python -m tox --py current
- name: Coverage reporting
run: |
coverage combine
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
],
zip_safe=False,
python_requires='>=3.6',
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[tox]
envlist =
{py36,py37}-django22,
{py36,py37,py38,py39}-{django31,django32},
{py38,py39}-{django40,latest},
{py36,py37,py38,py39,py310}-{django31,django32},
{py38,py39,py310}-{django40,latest},
isort,lint,docs,warnings,


Expand Down

0 comments on commit dbc69e7

Please sign in to comment.