File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,11 @@ on: [push, pull_request]
3
3
jobs :
4
4
test :
5
5
name : Test
6
+ strategy :
7
+ matrix :
8
+ python-version : ["3.10.x", "3.11.x"]
9
+ django-version : ["4.2.x", "5.0.x"]
6
10
env :
7
- python-version : " 3.10.x"
8
11
redis-version : " 6.2"
9
12
pg-version : " 15"
10
13
runs-on : ubuntu-22.04
28
31
- name : Install Python
29
32
uses : actions/setup-python@v1
30
33
with :
31
- python-version : ${{ env .python-version }}
34
+ python-version : ${{ matrix .python-version }}
32
35
33
36
- name : Install Poetry
34
37
uses : snok/install-poetry@v1
38
41
- name : Initialize environment
39
42
run : |
40
43
poetry install --no-root
44
+ poetry add django==${{ matrix.django-version }}
41
45
sudo npm install -g coffee-script less
42
46
ln -s ${{ github.workspace }}/ureport/settings.py.postgres ${{ github.workspace }}/ureport/settings.py
43
47
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ readme = "README.md"
9
9
python = " ^3.10"
10
10
Django = " ^4.2.7"
11
11
smartmin = " ^4.2.5"
12
- rapidpro-dash = " ^1.14.3 "
12
+ rapidpro-dash = { git = " https://github.com/rapidpro/dash.git " , branch = " django5 " }
13
13
colorama = " ^0.4.3"
14
14
celery = " ^5.1"
15
15
django-compressor = " ^4.0"
You can’t perform that action at this time.
0 commit comments