Skip to content

Commit 64ded10

Browse files
committed
Added Django 5.1 to test matrix
1 parent ac9aa06 commit 64ded10

File tree

1 file changed

+16
-15
lines changed

1 file changed

+16
-15
lines changed

.github/workflows/test.yml

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,33 +16,34 @@ jobs:
1616
- uses: chartboost/ruff-action@v1
1717
with:
1818
version: 0.4.8
19-
args: 'format --check'
19+
args: "format --check"
2020

2121
build:
2222
runs-on: ubuntu-latest
2323
name: Python${{ matrix.python-version }}/Django${{ matrix.django-version }}
2424
strategy:
2525
matrix:
2626
python-version: ["3.9", "3.10", "3.11", "3.12"]
27-
django-version: ["4.2", "5.0"]
27+
django-version: ["4.2", "5.0", "5.1"]
2828
exclude:
2929
- python-version: "3.9"
3030
django-version: "5.0"
31-
31+
- python-version: "3.9"
32+
django-version: "5.1"
3233

3334
steps:
34-
- uses: actions/checkout@v4
35+
- uses: actions/checkout@v4
3536

36-
- name: Set up Python ${{ matrix.python-version }}
37-
uses: actions/setup-python@v5
38-
with:
39-
python-version: ${{ matrix.python-version }}
37+
- name: Set up Python ${{ matrix.python-version }}
38+
uses: actions/setup-python@v5
39+
with:
40+
python-version: ${{ matrix.python-version }}
4041

41-
- name: Install dependencies
42-
run: |
43-
python -m pip install --upgrade pip
44-
pip install "Django~=${{ matrix.django-version }}.0"
42+
- name: Install dependencies
43+
run: |
44+
python -m pip install --upgrade pip
45+
pip install "Django~=${{ matrix.django-version }}.0"
4546
46-
- name: Run Test
47-
run: |
48-
`which django-admin` test post_office --settings=post_office.test_settings --pythonpath=.
47+
- name: Run Test
48+
run: |
49+
`which django-admin` test post_office --settings=post_office.test_settings --pythonpath=.

0 commit comments

Comments
 (0)