Skip to content

Add Django 5.0 to test matrix (fixes #704) #982

Add Django 5.0 to test matrix (fixes #704)

Add Django 5.0 to test matrix (fixes #704) #982

Workflow file for this run

name: Python
on: [push]
jobs:
test:
runs-on: ubuntu-latest
strategy:

Check failure on line 7 in .github/workflows/python.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/python.yml

Invalid workflow file

You have an error in your yaml syntax on line 7
matrix:
python-version: [3.8, 3.9, "3.10", "3.11", "3.12"]
django-version: ["4.1", "4.2", "5.0"]
exclude:
- python-version: 3.8
django-version: 5.0
- python-version: 3.8
django-version: 5.0
with:
fetch-depth: 1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
uses: abatilo/[email protected]
with:
poetry-version: 1.6.1
- name: Set Poetry config
run: |
poetry config virtualenvs.path ~/.virtualenvs${{ matrix.python-version }}
- name: Install dependencies
run: poetry install
- name: ruff check
run: poetry run ruff check .
- name: Run all tests
run: poetry run nox