Skip to content

Commit

Permalink
ci: Add Python 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
nijel committed Dec 15, 2021
1 parent 911957b commit 3befe76
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
python-version:
- "3.6"
- "3.7"
- "3.8"
- "3.9"
- "3.10"
env:
PYTHON_VERSION: ${{ matrix.python-version }}
PYTHONUNBUFFERED: 1
Expand Down
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
# and then run "tox" from this directory.

[tox]
envlist = py36,py37,py38,py39
envlist = py36,py37,py38,py39,py310

[testenv]
passenv = *
deps =
py{36,37,38,39}: -rsocial_core/tests/requirements.txt
py{36,37,38,39,310}: -rsocial_core/tests/requirements.txt
commands =
py{36,37,38,39}: pip install -e .[all]
py{36,37,38,39,310}: pip install -e .[all]
pytest {posargs:-v --cov=social_core}

0 comments on commit 3befe76

Please sign in to comment.