Skip to content

chore: bump to 1.3.0 #177

chore: bump to 1.3.0

chore: bump to 1.3.0 #177

Workflow file for this run

name: Test
on:
push:
branches:
- master
- "release/**"
pull_request:
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: "3.13"
- uses: pre-commit/action@v3.0.1
with:
token: ${{ secrets.GITHUB_TOKEN }}
test:
name: Python ${{ matrix.python-version }} - Django ${{ matrix.django-version }} - Wagtail ${{ matrix.wagtail-version }}
runs-on: ubuntu-latest
needs: lint
strategy:
matrix:
python-version: ["3.11", "3.12", "3.13"]
django-version: ["5.1", "5.2"]
wagtail-version: ["6.0", "7.0"]
include:
- python-version: "3.13"
django-version: "5.2"
wagtail-version: "7.0"
codecov: true
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies Django-${{ matrix.django-version }} Wagtail-${{ matrix.wagtail-version }}
run: |
python -m pip install --upgrade pip setuptools
pip install poetry~=1.4.0
poetry config virtualenvs.create false
poetry install --no-dev -E tests
pip install Django~=${{ matrix.django-version }}.0 Wagtail~=${{ matrix.wagtail-version }}
- name: Test with pytest
run: pytest --cov-report=xml
- name: Send to codecov
if: matrix.codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}