Skip to content

Commit 117c4c4

Browse files
committed
Prep and start testing on django 5.0
1 parent 54d6ccb commit 117c4c4

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,11 @@ on: [push, pull_request]
33
jobs:
44
test:
55
name: Test
6+
strategy:
7+
matrix:
8+
python-version: ["3.10.x", "3.11.x"]
9+
django-version: ["4.2.x", "5.0.x"]
610
env:
7-
python-version: "3.10.x"
811
redis-version: "6.2"
912
pg-version: "15"
1013
runs-on: ubuntu-22.04
@@ -28,7 +31,7 @@ jobs:
2831
- name: Install Python
2932
uses: actions/setup-python@v1
3033
with:
31-
python-version: ${{ env.python-version }}
34+
python-version: ${{ matrix.python-version }}
3235

3336
- name: Install Poetry
3437
uses: snok/install-poetry@v1
@@ -38,6 +41,7 @@ jobs:
3841
- name: Initialize environment
3942
run: |
4043
poetry install --no-root
44+
poetry add django==${{ matrix.django-version }}
4145
sudo npm install -g coffee-script less
4246
ln -s ${{ github.workspace }}/ureport/settings.py.postgres ${{ github.workspace }}/ureport/settings.py
4347

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ readme = "README.md"
99
python = "^3.10"
1010
Django = "^4.2.7"
1111
smartmin = "^4.2.5"
12-
rapidpro-dash = "^1.14.3"
12+
rapidpro-dash = { git = "https://github.com/rapidpro/dash.git", branch = "django5" }
1313
colorama = "^0.4.3"
1414
celery = "^5.1"
1515
django-compressor = "^4.0"

0 commit comments

Comments
 (0)