File tree 2 files changed +19
-4
lines changed
2 files changed +19
-4
lines changed Original file line number Diff line number Diff line change 66
66
pip install -U setuptools wheel
67
67
pip install -r dev_requirements.txt
68
68
tox -e ${{matrix.test-type}}-${{matrix.connection-type}}
69
+ - uses : actions/upload-artifact@v2
70
+ if : success() || failure()
71
+ with :
72
+ name : pytest-results-${{matrix.test-type}}
73
+ path : ' ${{matrix.test-type}}*results.xml'
74
+ - name : View Test Results
75
+ uses : dorny/test-reporter@v1
76
+ if : success() || failure()
77
+ with :
78
+ name : Test Results ${{matrix.python-version}} ${{matrix.test-type}}-${{matrix.connection-type}}
79
+ path : ' ${{matrix.test-type}}*results.xml'
80
+ reporter : java-junit
81
+ list-suites : failed
82
+ list-tests : failed
83
+ max-annotations : 10
69
84
- name : Upload codecov coverage
70
85
uses : codecov/codecov-action@v2
71
86
with :
Original file line number Diff line number Diff line change @@ -288,10 +288,10 @@ setenv =
288
288
CLUSTER_URL = " redis://localhost:16379/0"
289
289
UNSTABLE_CLUSTER_URL = " redis://localhost:6372/0"
290
290
commands =
291
- standalone: pytest --cov =./ --cov-report =xml:coverage_redis.xml -W always -m ' not onlycluster' {posargs}
292
- standalone-uvloop: pytest --cov =./ --cov-report =xml:coverage_redis.xml -W always -m ' not onlycluster' --uvloop {posargs}
293
- cluster: pytest --cov =./ --cov-report =xml:coverage_cluster.xml -W always -m ' not onlynoncluster and not redismod' --redis-url ={env:CLUSTER_URL:} --redis-unstable-url ={env:UNSTABLE_CLUSTER_URL:} {posargs}
294
- cluster-uvloop: pytest --cov =./ --cov-report =xml:coverage_cluster.xml -W always -m ' not onlynoncluster and not redismod' --redis-url ={env:CLUSTER_URL:} --redis-unstable-url ={env:UNSTABLE_CLUSTER_URL:} --uvloop {posargs}
291
+ standalone: pytest --cov =./ --cov-report =xml:coverage_redis.xml -W always -m ' not onlycluster' -- junit-xml =standalone-results.xml {posargs}
292
+ standalone-uvloop: pytest --cov =./ --cov-report =xml:coverage_redis.xml -W always -m ' not onlycluster' --junit-xml =standalone-uvloop-results.xml -- uvloop {posargs}
293
+ cluster: pytest --cov =./ --cov-report =xml:coverage_cluster.xml -W always -m ' not onlynoncluster and not redismod' --redis-url ={env:CLUSTER_URL:} --redis-unstable-url ={env:UNSTABLE_CLUSTER_URL:} -- junit-xml =cluster-results.xml {posargs}
294
+ cluster-uvloop: pytest --cov =./ --cov-report =xml:coverage_cluster.xml -W always -m ' not onlynoncluster and not redismod' --redis-url ={env:CLUSTER_URL:} --redis-unstable-url ={env:UNSTABLE_CLUSTER_URL:} --junit-xml =cluster-uvloop-results.xml -- uvloop {posargs}
295
295
296
296
[testenv:redis5]
297
297
deps =
You can’t perform that action at this time.
0 commit comments