Skip to content

Commit

Permalink
Add tests for python 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Andersen authored and ldynia committed Mar 22, 2021
1 parent 2fad558 commit 4e238dc
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ matrix:
- { python: "3.7", env: DJANGO=3.0 TOXENV=py37-django30 }
- { python: "3.8", env: DJANGO=2.2 TOXENV=py38-django22 }
- { python: "3.8", env: DJANGO=3.0 TOXENV=py38-django30 }
- { python: "3.9", env: DJANGO=2.2 TOXENV=py39-django22 }
- { python: "3.9", env: DJANGO=3.0 TOXENV=py39-django30 }
- { python: "3.7", env: TOXENV=quality }

before_install:
Expand Down
20 changes: 19 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
isolated_build = true
envlist = py{36,37,38}-django{22,30}, quality
envlist = py{36,37,38,39}-django{22,30}, quality

[travis:env]
DJANGO =
Expand Down Expand Up @@ -41,6 +41,15 @@ commands =
poetry run pip install 'django~=2.2'
poetry run pytest tests/ --cov=graphene_django_extras

[testenv:py39-django22]
whitelist_externals = poetry
skip_install = true
commands =
poetry update --lock
poetry install -vvv
poetry run pip install 'django~=2.2'
poetry run pytest tests/ --cov=graphene_django_extras

[testenv:py36-django30]
whitelist_externals = poetry
skip_install = true
Expand Down Expand Up @@ -68,6 +77,15 @@ commands =
poetry run pip install 'django~=3.0'
poetry run pytest tests/ --cov=graphene_django_extras

[testenv:py39-django30]
whitelist_externals = poetry
skip_install = true
commands =
poetry update --lock
poetry install -vvv
poetry run pip install 'django~=3.0'
poetry run pytest tests/ --cov=graphene_django_extras

[testenv:quality]
whitelist_externals = poetry
skip_install = true
Expand Down

0 comments on commit 4e238dc

Please sign in to comment.