Skip to content

Commit

Permalink
Add djangomain tests to GitHub Action matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
philgyford committed Jun 4, 2022
1 parent 9fb3780 commit a60d40c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,17 @@ jobs:
fail-fast: false
matrix:
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
django-version: ["3.1", "3.2", "4.0"]
django-version: ["3.1", "3.2", "4.0", "main"]
# If we want to exclude combinations, we add them here:
exclude:
- python-version: "3.6"
django-version: "4.0"
- python-version: "3.6"
django-version: "main"
- python-version: "3.7"
django-version: "4.0"
- python-version: "3.7"
django-version: "main"
- python-version: "3.10"
django-version: "3.1"
steps:
Expand Down
9 changes: 5 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ minversion = 1.8
envlist =
py36-django{32}
py37-django{32}
py38-django{32,40,tip}
py39-django{32,40,tip}
py310-django{32,40,tip}
py38-django{32,40,main}
py39-django{32,40,main}
py310-django{32,40,main}
flake8

[gh-actions]
Expand All @@ -25,6 +25,7 @@ python =
DJANGO =
3.2: django32
4.0: django40
main: djangomain

; Dependencies and ENV things we need for all environments:
[base]
Expand All @@ -38,7 +39,7 @@ setenv =
deps =
django32: Django >= 3.2, < 3.3
django40: Django >= 4.0, < 4.1
djangotip: https://github.com/django/django/archive/master.tar.gz
djangomain: https://github.com/django/django/archive/master.tar.gz
extras =
{[base]extras}
setenv =
Expand Down

0 comments on commit a60d40c

Please sign in to comment.