Adjust GitHub and tox matrix to match current version support state

This commit is contained in:
Aleksi Häkli 2023-04-28 13:08:17 +03:00
parent 1d13338cdb
commit 700ea46607
No known key found for this signature in database
GPG key ID: F93F294200F16F4C
2 changed files with 17 additions and 13 deletions

View file

@ -13,35 +13,37 @@ jobs:
fail-fast: false
max-parallel: 5
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', 'pypy-3.8']
django-version: ['3.2', '4.0', '4.1']
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
django-version: ['3.2', '4.1', '4.2']
include:
# Tox configuration for QA environment
- python-version: '3.10'
- python-version: '3.11'
django-version: 'qa'
# Django main
- python-version: '3.10'
django-version: 'main'
experimental: true
- python-version: '3.11'
django-version: 'main'
experimental: true
# PyPy 3.8
- python-version: 'pypy-3.8'
django-version: '3.2'
experimental: true
- python-version: 'pypy-3.8'
django-version: '4.1'
experimental: true
- python-version: 'pypy-3.8'
django-version: '4.2'
experimental: true
exclude:
# Exclude Python 3.7 for Django 4.0 and Django main
- python-version: '3.7'
django-version: '4.0'
# Exclude Python 3.7 for Django 4.x and Django main
- python-version: '3.7'
django-version: '4.1'
- python-version: '3.7'
django-version: '4.2'
- python-version: '3.7'
django-version: 'main'
# Exclude Python 3.11 for Django 3.2 and Django 4.0
- python-version: '3.11'
django-version: '3.2'
- python-version: '3.11'
django-version: '4.0'
steps:

View file

@ -13,8 +13,8 @@ envlist =
py{37,38,39,310,py38}-dj32
py{38,39,310,311,py38}-dj41
py{38,39,310,311,py38}-dj42
py{310,311,py38}-djmain
py310-djqa
py311-djmain
py311-djqa
[gh-actions]
python =
@ -48,8 +48,10 @@ setenv =
# Django development version is allowed to fail the test matrix
ignore_outcome =
djmain: True
pypy38: True
ignore_errors =
djmain: True
pypy38: True
# QA runs type checks, linting, and code formatting checks
[testenv:py311-djqa]