mirror of
https://github.com/graphql-python/graphene.git
synced 2025-07-18 03:52:24 +03:00
update tested py versions with 3.11 default
This commit is contained in:
parent
db05a9add6
commit
44e5bb9177
4
.github/workflows/deploy.yml
vendored
4
.github/workflows/deploy.yml
vendored
|
@ -11,10 +11,10 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Set up Python 3.9
|
- name: Set up Python 3.11
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: 3.9
|
python-version: 3.11
|
||||||
- name: Build wheel and source tarball
|
- name: Build wheel and source tarball
|
||||||
run: |
|
run: |
|
||||||
pip install wheel
|
pip install wheel
|
||||||
|
|
4
.github/workflows/lint.yml
vendored
4
.github/workflows/lint.yml
vendored
|
@ -8,10 +8,10 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Set up Python 3.9
|
- name: Set up Python 3.11
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: 3.9
|
python-version: 3.11
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
|
|
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
|
@ -8,7 +8,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
max-parallel: 4
|
max-parallel: 4
|
||||||
matrix:
|
matrix:
|
||||||
python-version: ["2.7", "3.6", "3.7", "3.8", "3.9", "3.10-dev"]
|
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12-dev"]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
15
.travis.yml
15
.travis.yml
|
@ -2,10 +2,11 @@ language: python
|
||||||
dist: xenial
|
dist: xenial
|
||||||
|
|
||||||
python:
|
python:
|
||||||
- "2.7"
|
- "3.8"
|
||||||
- "3.5"
|
- "3.9"
|
||||||
- "3.6"
|
- "3.10"
|
||||||
- "3.7"
|
- "3.11"
|
||||||
|
- "3.12"
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- pip install tox tox-travis
|
- pip install tox tox-travis
|
||||||
|
@ -27,11 +28,11 @@ jobs:
|
||||||
fast_finish: true
|
fast_finish: true
|
||||||
include:
|
include:
|
||||||
- env: TOXENV=pre-commit
|
- env: TOXENV=pre-commit
|
||||||
python: 3.7
|
python: 3.11
|
||||||
- env: TOXENV=mypy
|
- env: TOXENV=mypy
|
||||||
python: 3.7
|
python: 3.11
|
||||||
- stage: deploy
|
- stage: deploy
|
||||||
python: 3.7
|
python: 3.11
|
||||||
after_success: true
|
after_success: true
|
||||||
deploy:
|
deploy:
|
||||||
provider: pypi
|
provider: pypi
|
||||||
|
|
13
tox.ini
13
tox.ini
|
@ -1,26 +1,25 @@
|
||||||
[tox]
|
[tox]
|
||||||
envlist = py{27,36,37,38,39,310},flake8,pre-commit,mypy
|
envlist = py3{8,9,10,11,12-dev},flake8,pre-commit,mypy
|
||||||
|
|
||||||
[gh-actions]
|
[gh-actions]
|
||||||
python =
|
python =
|
||||||
2.7: py27
|
|
||||||
3.6: py36
|
|
||||||
3.7: py37
|
|
||||||
3.8: py38
|
3.8: py38
|
||||||
3.9: py39
|
3.9: py39
|
||||||
3.10-dev: py310
|
3.10: py310
|
||||||
|
3.11: py311
|
||||||
|
3.12-dev: py312
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
passenv = *
|
passenv = *
|
||||||
usedevelop = True
|
usedevelop = True
|
||||||
deps =
|
deps =
|
||||||
-e.[test]
|
-e.[test]
|
||||||
py{36,37,38,39,310}: pytest-asyncio
|
py3{8,9,10,11,12-dev}: pytest-asyncio
|
||||||
setenv =
|
setenv =
|
||||||
PYTHONPATH = .:{envdir}
|
PYTHONPATH = .:{envdir}
|
||||||
commands =
|
commands =
|
||||||
py{27}: py.test --cov=graphene graphene examples {posargs}
|
py{27}: py.test --cov=graphene graphene examples {posargs}
|
||||||
py{36,37,38,39,310}: py.test --cov=graphene graphene examples tests_asyncio tests_py36 {posargs}
|
py3{8,9,10,11,12-dev}: py.test --cov=graphene graphene examples tests_asyncio tests_py36 {posargs}
|
||||||
|
|
||||||
[testenv:pre-commit]
|
[testenv:pre-commit]
|
||||||
deps =
|
deps =
|
||||||
|
|
Loading…
Reference in New Issue
Block a user