Skip to content

Commit

Permalink
Update GitHub Actions workflow to exclude incompatible Python and Dja…
Browse files Browse the repository at this point in the history
…ngo version combinations
  • Loading branch information
slyapustin committed Jan 5, 2025
1 parent 370706c commit 71b7b48
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,17 @@ jobs:
"django>=5.1,<5.2",
]

# What Python version can I use with Django? https://docs.djangoproject.com/en/dev/faq/install/#what-python-version-can-i-use-with-django
exclude:
- python-version: "3.9"
django-version: "django>=5.0,<5.1"
- python-version: "3.9"
django-version: "django>=5.1,<5.2"
- python-version: "3.13"
django-version: "django>=4.2,<5.0"
- python-version: "3.13"
django-version: "django>=5.0,<5.1"

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand Down

0 comments on commit 71b7b48

Please sign in to comment.