Skip to content

Upgrade dependencies to support Django 5.0 #59

Upgrade dependencies to support Django 5.0

Upgrade dependencies to support Django 5.0 #59

Workflow file for this run

name: Django Cassandra Engine
on:
push:
branches:
- master
pull_request:
types: [opened, synchronize, reopened]
jobs:
format:
name: Check formatting
runs-on: ubuntu-latest
strategy:
matrix:
toxenv: [fmt,lint]
env:
TOXENV: ${{ matrix.toxenv }}
steps:
- name: Check out the repository
uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install and run tox
run: |
pip install -U pip
pip install tox
tox
test:
name: Run tests
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10', '3.11', '3.12']
django-version: ['32', '40', '41', '42', '50']
env:
TOXENV: py${{ matrix.python-version }}-django${{ matrix.django-version }}
services:
cassandra:
image: scylladb/scylla:5.4
ports:
- 9042:9042
steps:
- name: Check out the repository
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install and run tox
run: |
pip install -U pip
pip install tox
tox