File tree Expand file tree Collapse file tree 2 files changed +19
-4
lines changed Expand file tree Collapse file tree 2 files changed +19
-4
lines changed Original file line number Diff line number Diff line change 6666 pip install -U setuptools wheel
6767 pip install -r dev_requirements.txt
6868 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
6984 - name : Upload codecov coverage
7085 uses : codecov/codecov-action@v2
7186 with :
Original file line number Diff line number Diff line change @@ -288,10 +288,10 @@ setenv =
288288 CLUSTER_URL = " redis://localhost:16379/0"
289289 UNSTABLE_CLUSTER_URL = " redis://localhost:6372/0"
290290commands =
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}
295295
296296[testenv:redis5]
297297deps =
You can’t perform that action at this time.
0 commit comments