Support/wagtail 63 #75
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Python testing | |
on: | |
push: | |
pull_request: | |
branches: [master] | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python: ["3.9", "3.10", "3.11", "3.12", "3.13"] | |
django: ["4.2", "5.0", "5.1"] | |
wagtail: ["6.3"] | |
exclude: | |
- python: "3.9" | |
django: "5.0" | |
- python: "3.9" | |
django: "5.1" | |
- python: "3.13" | |
django: "4.2" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install dependencies Django - ${{ matrix.django }} Wagtail - ${{ matrix.wagtail }} Python - ${{ matrix.python }} | |
run: | | |
python -m pip install --upgrade pip | |
pip install "django==${{ matrix.django }}" | |
pip install "wagtail==${{ matrix.wagtail }}" | |
python --version | |
pip list | |
- name: Run tests | |
run: | | |
python runtests.py |