Skip to content

Commit

Permalink
Rework the workflow matrix etc.
Browse files Browse the repository at this point in the history
  • Loading branch information
nickmoreton committed Nov 29, 2024
1 parent 75a4982 commit 61b8b40
Showing 1 changed file with 21 additions and 11 deletions.
32 changes: 21 additions & 11 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,31 @@ jobs:
strategy:
matrix:
python: ["3.9", "3.10", "3.11", "3.12", "3.13"]
wagtail: ["wagtail==6.3"]
django: ["django==4.2", "django==5.0", "django==5.1"]
django: ["4.2", "5.0", "5.1"]
wagtail: ["6.3"]
exclude:
- python: "3.9"
django: "django==5.0"
django: "5.0"
- python: "3.9"
django: "django==5.1"
django: "5.1"
- python: "3.13"
django: "4.2"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
cache: "pip"
cache-dependency-path: "**/setup.cfg"
- run: |
pip install "${{ matrix.wagtail }}"
- run: |

- 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

0 comments on commit 61b8b40

Please sign in to comment.