File tree Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 13
13
timeout-minutes : 10
14
14
strategy :
15
15
matrix :
16
- platform : [ubuntu-18.04, ubuntu-16.04]
17
- python : ['2.7 ', '3.6 ', '3.8' ]
16
+ platform : [ubuntu-20.04, ubuntu- 18.04, ubuntu-16.04]
17
+ python : ['3.6 ', '3.7 ', '3.8' '3.9' ]
18
18
19
19
steps :
20
20
- uses : actions/checkout@v2
44
44
45
45
- name : Install Python dependencies
46
46
run : |
47
- sudo apt-get install -y python-setuptools
48
- sudo apt-get install -y python3-setuptools
49
- pip install -r requirements.txt
47
+ sudo apt-get install -y python-setuptools python3-setuptools
48
+ pip install poetry
49
+ poetry install
50
50
51
51
- name : Cache Redis
52
52
id : cache-redis
72
72
- name : Unit Test with pytest
73
73
timeout-minutes : 5
74
74
run : |
75
- pip install pytest
76
75
TLS_CERT=./redis/tests/tls/redis.crt \
77
76
TLS_KEY=./redis/tests/tls/redis.key \
78
77
TLS_CACERT=./redis/tests/tls/ca.crt \
@@ -185,8 +184,6 @@ jobs:
185
184
- name : Generate coverage report
186
185
if : matrix.platform == 'ubuntu-18.04' && matrix.python == '3.6'
187
186
run : |
188
- pip install pytest
189
- pip install pytest-cov
190
187
TLS_CERT=./redis/tests/tls/redis.crt \
191
188
TLS_KEY=./redis/tests/tls/redis.key \
192
189
TLS_CACERT=./redis/tests/tls/ca.crt \
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ python = "^3.6"
27
27
redis = " >=3.0.0"
28
28
redis-py-cluster = " >=2.1.0"
29
29
distro = " >=1.4.0"
30
- psutil = " ^5.8 .0"
30
+ psutil = " ^3.0 .0"
31
31
32
32
[tool .poetry .dev-dependencies ]
33
33
codecov = " ^2.1.11"
@@ -40,6 +40,8 @@ tox-poetry = "^0.3.0"
40
40
bandit = " ^1.7.0"
41
41
pylint = " ^2.8.2"
42
42
vulture = " ^2.3"
43
+ pytest = " ^6.2.4"
44
+ pytest-cov = " ^2.12.0"
43
45
44
46
[tool .poetry .urls ]
45
47
repository = " https://github.com/RedisLabsModules/RLTest"
You can’t perform that action at this time.
0 commit comments