Skip to content

Update for python 3.13 and Django 5.2 (#26) #18

Update for python 3.13 and Django 5.2 (#26)

Update for python 3.13 and Django 5.2 (#26) #18

Workflow file for this run

name: Django CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [ 3.9, "3.10", "3.11", "3.12", "3.13" ]
django-version:
- "Django>=4.2,<5.0"
- "Django>=5.1,<5.2"
- "Django>=5.2,<6.0"
exclude:
- python-version: 3.9
django-version: "Django>=5.1,<5.2"
- python-version: 3.9
django-version: "Django>=5.2,<6.0"
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip' # caching pip dependencies
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install pyquery coverage "${{ matrix.django-version }}"
- name: Run Tests
run: |
coverage run ./quicktest.py multi_email_field.tests && coverage report
quality-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: "3.10"
cache: 'pip' # caching pip dependencies
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install ruff
- name: Check quality
run: |
ruff check multi_email_field
ruff format --check multi_email_field