Skip to content

Commit

Permalink
Add Python 3.9 to tox
Browse files Browse the repository at this point in the history
  • Loading branch information
ulgens committed Mar 11, 2021
1 parent 2f7a678 commit f21cff0
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:

steps:
- uses: actions/checkout@v1
- name: Set up Python 3.8
- name: Set up Python 3.9
uses: actions/setup-python@v1
with:
python-version: 3.8
python-version: 3.9
- name: Build wheel and source tarball
run: |
pip install wheel
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:

steps:
- uses: actions/checkout@v1
- name: Set up Python 3.8
- name: Set up Python 3.9
uses: actions/setup-python@v1
with:
python-version: 3.8
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
max-parallel: 4
matrix:
django: ["2.2", "3.0", "3.1"]
python-version: ["3.6", "3.7", "3.8"]
python-version: ["3.6", "3.7", "3.8", "3.9"]

steps:
- uses: actions/checkout@v1
Expand Down
7 changes: 4 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
[tox]
envlist =
py{36,37,38}-django{22,30,31,main},
py{36,37,38,39}-django{22,30,31,main},
black,flake8

[gh-actions]
python =
3.6: py36
3.7: py37
3.8: py38
3.9: py39

[gh-actions:env]
DJANGO =
Expand Down Expand Up @@ -35,13 +36,13 @@ deps =
commands = {posargs:py.test --cov=graphene_django graphene_django examples}

[testenv:black]
basepython = python3.8
basepython = python3.9
deps = -e.[dev]
commands =
black --exclude "/migrations/" graphene_django examples setup.py --check

[testenv:flake8]
basepython = python3.8
basepython = python3.9
deps = -e.[dev]
commands =
flake8 graphene_django examples setup.py

0 comments on commit f21cff0

Please sign in to comment.