Skip to content

Commit

Permalink
Remove requirements//test-djangoXY.txt (#728)
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss authored Feb 8, 2024
1 parent 875ae4c commit acd10a3
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 17 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,18 @@ jobs:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
matrix: # https://docs.djangoproject.com/en/stable/faq/install/#what-python-version-can-i-use-with-django
django-version: ["3.2", "4.2", "5.0"]
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', 'pypy-3.10']
exclude:
- django-version: "3.2"
python-version: "3.11"
- django-version: "3.2"
python-version: "3.12"
- django-version: "5.0"
python-version: "3.8"
- django-version: "5.0"
python-version: "3.9"

services:
rabbitmq:
Expand All @@ -31,4 +41,6 @@ jobs:
python -m pip install --upgrade pip
python -m pip install tox tox-gh-actions
- name: Test with tox
run: tox -vv
run: tox
env:
DJANGO: ${{ matrix.django-version }}
1 change: 0 additions & 1 deletion requirements/test-django32.txt

This file was deleted.

1 change: 0 additions & 1 deletion requirements/test-django40.txt

This file was deleted.

1 change: 0 additions & 1 deletion requirements/test-django41.txt

This file was deleted.

1 change: 0 additions & 1 deletion requirements/test-django42.txt

This file was deleted.

1 change: 0 additions & 1 deletion requirements/test-django50.txt

This file was deleted.

22 changes: 12 additions & 10 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
; https://docs.djangoproject.com/en/stable/faq/install/#what-python-version-can-i-use-with-django

[gh-actions]
python =
3.8: py38, apicheck, linkcheck
Expand All @@ -16,12 +18,12 @@ DJANGO =

[tox]
envlist =
py38-django{32,41,42}
py39-django{32,41,42}
py310-django{32,41,42,50}
py311-django{41,42,50}
py312-django{41,42,50}
pypy3-django{32,41,42,50}
py38-django{32,42}
py39-django{32,42}
py310-django{32,42,50}
py311-django{42,50}
py312-django{42,50}
pypy3-django{32,42,50}
flake8
apicheck
linkcheck
Expand All @@ -36,10 +38,10 @@ deps=

cov: -r{toxinidir}/requirements/test-django.txt

django32: -r{toxinidir}/requirements/test-django32.txt
django41: -r{toxinidir}/requirements/test-django41.txt
django42: -r{toxinidir}/requirements/test-django42.txt
django50: -r{toxinidir}/requirements/test-django50.txt
django32: Django ~= 3.2
django41: Django ~= 4.1
django42: Django ~= 4.2
django50: Django ~= 5.0

linkcheck,apicheck: -r{toxinidir}/requirements/docs.txt
flake8,pydocstyle: -r{toxinidir}/requirements/pkgutils.txt
Expand Down

0 comments on commit acd10a3

Please sign in to comment.