Test also with Python 3.10 (and still keep 3.7)

This commit is contained in:
JensDiemer 2022-04-15 16:42:36 +02:00
parent 8145581798
commit bebd34681b
2 changed files with 3 additions and 2 deletions

View file

@ -14,7 +14,7 @@ jobs:
strategy:
max-parallel: 2
matrix:
python-version: [3.9, 3.8, 3.7]
python-version: ["3.10", "3.9", "3.8", "3.7"]
steps:
- uses: actions/checkout@v1
- name: 'Set up Python ${{ matrix.python-version }}'

View file

@ -6,6 +6,7 @@ authors = ["JensDiemer <git@jensdiemer.de>"]
license = "GPL"
[tool.poetry.dependencies]
# Keep Python 3.7 until Yunohost contains a newer Python Version ;)
python = ">=3.7,<4.0.0"
django-for-runners = ">=0.12.1"
# Note: "ynh" extras will install gunicorn, psycopg2, django-redis and django-axes
@ -82,7 +83,7 @@ addopts = """
legacy_tox_ini = """
[tox]
isolated_build = True
envlist = py39,py38,py37
envlist = px310,py39,py38,py37
skip_missing_interpreters = True
[testenv]