Skip to content

Merge pull request #35 from torchbox/release/v2.2.0 #81

Merge pull request #35 from torchbox/release/v2.2.0

Merge pull request #35 from torchbox/release/v2.2.0 #81

Workflow file for this run

name: Tests
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test:
name: 🧪 Test
runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.12", "3.11", "3.10", "3.9", "3.8"]
django: ["django>=3.2,<3.3", "django>=4.2,<4.3", "django>=5.0,<5.1"]
wagtail: ["wagtail>=5.2,<5.3", "wagtail>=6.0,<6.1"]
exclude:
- django: django>=3.2,<3.3
wagtail: wagtail>=6.0,<6.1
- python: "3.8"
django: django>=5.0,<5.1
- python: "3.9"
django: django>=5.0,<5.1
- python: "3.12"
django: django>=4.2,<4.3
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
cache: "pip"
cache-dependency-path: "**/setup.cfg"
- run: |
pip install coverage
pip install "${{ matrix.wagtail }}"
- run: |
coverage run ./runtests.py
coverage report
coverage xml
- if: ${{ matrix.latest }}
uses: codecov/codecov-action@v4
with:
name: Python 3.12