Test Python 3.11 beta

This commit is contained in:
Hugo van Kemenade 2022-06-15 15:48:52 +03:00
parent a3054c7724
commit 165ffd0b15
2 changed files with 4 additions and 2 deletions

View file

@ -9,7 +9,7 @@ jobs:
fail-fast: false fail-fast: false
max-parallel: 5 max-parallel: 5
matrix: matrix:
python-version: ['3.7', '3.8', '3.9', '3.10'] python-version: ['3.7', '3.8', '3.9', '3.10', '3.11-dev']
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3

View file

@ -5,7 +5,7 @@ minversion = 1.8
envlist = envlist =
flake8 flake8
py3{7,8,9}-dj22 py3{7,8,9}-dj22
py3{7,8,9,10}-dj32 py3{7,8,9,10,11}-dj32
[gh-actions] [gh-actions]
python = python =
@ -13,6 +13,7 @@ python =
3.8: py38 3.8: py38
3.9: py39 3.9: py39
3.10: py310, flake8 3.10: py310, flake8
3.11: py311
[testenv] [testenv]
basepython = basepython =
@ -20,6 +21,7 @@ basepython =
py38: python3.8 py38: python3.8
py39: python3.9 py39: python3.9
py310: python3.10 py310: python3.10
py311: python3.11
usedevelop = true usedevelop = true
setenv = setenv =
DJANGO_SETTINGS_MODULE = dbtemplates.test_settings DJANGO_SETTINGS_MODULE = dbtemplates.test_settings