Skip to content

Commit

Permalink
Upgrade GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss committed Dec 14, 2023
1 parent 2e0b15b commit c271e7c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
20 changes: 14 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,26 @@ jobs:
name: Python ${{ matrix.python-version }}, django ${{ matrix.django-version }}
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.9, "3.10", "3.11"]
django-version: [32, 41, 42]
matrix: # https://docs.djangoproject.com/en/5.0/faq/install/#faq-python-version-support
django-version: [32, 41, 42, 50]
python-version: [3.8, 3.9, "3.10", 3.11, 3.11]

exclude:
- python-version: 3.11
django-version: 32
- django-version: 32
python-version: 3.11
- django-version: 32
python-version: 3.12
- django-version: 41
python-version: 3.12
- django-version: 50
python-version: 3.8
- django-version: 50
python-version: 3.9

steps:
- uses: actions/checkout@v4
- name: setup python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install tox
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[tox]
envlist = django{32,41,42}
envlist = django{32,42,50}

[testenv]
commands =
python runtests.py
deps =
django32: Django>=3.2,<3.3
django41: Django>=4.1,<4.2
django42: Django>=4.2,<5.0
django50: Django>=5.0,<5.1

0 comments on commit c271e7c

Please sign in to comment.