Skip to content

Commit

Permalink
Added redis-py and Channels versions to test matrix (#377)
Browse files Browse the repository at this point in the history
  • Loading branch information
sevdog authored Jan 10, 2024
1 parent 66187aa commit 6c98134
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
fail-fast: false
matrix:
python-version:
- 3.8
- 3.9
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
include_package_data=True,
python_requires=">=3.8",
install_requires=[
"redis>=4.5.3",
"redis>=4.6",
"msgpack~=1.0",
"asgiref>=3.2.10,<4",
"channels",
Expand Down
10 changes: 9 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
[tox]
envlist =
py{38,39,310,311,312}
py{38,39,310,311,312}-ch{30,40,main}-redis50
py311-chmain-redis{45,46,50,main}
qa

[testenv]
usedevelop = true
extras = tests
commands =
pytest -v {posargs}
deps =
ch30: channels>=3.0,<3.1
ch40: channels>=4.0,<4.1
chmain: https://github.com/django/channels/archive/main.tar.gz
redis46: redis>=4.6,<4.7
redis50: redis>=5.0,<5.1
redismain: https://github.com/redis/redis-py/archive/master.tar.gz

[testenv:qa]
skip_install=true
Expand Down

0 comments on commit 6c98134

Please sign in to comment.