From 52b46275b53d8be4c9673957866f29211e1ca65f Mon Sep 17 00:00:00 2001 From: Maksudul Haque Date: Sat, 7 Sep 2024 13:54:07 +0000 Subject: [PATCH] Exclude unsupported versions --- .github/workflows/test.yaml | 11 +++++++++++ tox.ini | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index e68c975..92e0e59 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -16,6 +16,17 @@ jobs: python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] django-version: ["4.2", "5.0", "5.1"] + exclude: + - python-version: "3.8" + django-version: "5.0" + - python-version: "3.9" + django-version: "5.0" + + - python-version: "3.8" + django-version: "5.1" + - python-version: "3.9" + django-version: "5.1" + steps: - uses: actions/checkout@v3 diff --git a/tox.ini b/tox.ini index 6ba1f89..95c8085 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] isolated_build = True -envlist = py{38,39,310,311,312}-django{42,50,51} +envlist = py{38,39}-django42,py{310,311,312}-django{42,50,51} [testenv] commands =