Skip to content

Commit 6c98134

Browse files
authored
Added redis-py and Channels versions to test matrix (#377)
1 parent 66187aa commit 6c98134

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ jobs:
1515
fail-fast: false
1616
matrix:
1717
python-version:
18-
- 3.8
19-
- 3.9
18+
- "3.8"
19+
- "3.9"
2020
- "3.10"
2121
- "3.11"
2222
- "3.12"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
include_package_data=True,
3232
python_requires=">=3.8",
3333
install_requires=[
34-
"redis>=4.5.3",
34+
"redis>=4.6",
3535
"msgpack~=1.0",
3636
"asgiref>=3.2.10,<4",
3737
"channels",

tox.ini

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,21 @@
11
[tox]
22
envlist =
3-
py{38,39,310,311,312}
3+
py{38,39,310,311,312}-ch{30,40,main}-redis50
4+
py311-chmain-redis{45,46,50,main}
45
qa
56

67
[testenv]
78
usedevelop = true
89
extras = tests
910
commands =
1011
pytest -v {posargs}
12+
deps =
13+
ch30: channels>=3.0,<3.1
14+
ch40: channels>=4.0,<4.1
15+
chmain: https://github.com/django/channels/archive/main.tar.gz
16+
redis46: redis>=4.6,<4.7
17+
redis50: redis>=5.0,<5.1
18+
redismain: https://github.com/redis/redis-py/archive/master.tar.gz
1119

1220
[testenv:qa]
1321
skip_install=true

0 commit comments

Comments
 (0)