Skip to content

Commit 412b293

Browse files
committed
Clean up pytest execution
1 parent 2d25967 commit 412b293

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/actions/run-tests/action.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,19 @@ runs:
107107
- name: Debug
108108
if: failure()
109109
run: |
110+
sudo apt-get install -y redis-tools
110111
echo "Docker Containers:"
111112
docker ps
112113
redis-cli -p 16379 CLUSTER NODES
113114
shell: bash
114115

116+
- name: Setup upterm session
117+
if: failure()
118+
uses: lhotari/action-upterm@v1
119+
with:
120+
limit-access-to-actor: true
121+
limit-access-to-users: uglide
122+
115123
- name: Upload test results and profiling data
116124
uses: actions/upload-artifact@v4
117125
with:

tasks.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,7 @@ def standalone_tests(c, uvloop=False, protocol=2, profile=False, redis_mod_url=N
6161
)
6262
else:
6363
run(
64-
f"pytest -vvv {profile_arg} --protocol={protocol} {redis_mod_url} --cov=./ --cov-report=xml:coverage_resp{protocol}.xml -m 'not onlycluster and not graph' --junit-xml=standalone-resp{protocol}-results.xml",
65-
echo=True,
64+
f"pytest {profile_arg} --protocol={protocol} {redis_mod_url} --cov=./ --cov-report=xml:coverage_resp{protocol}.xml -m 'not onlycluster and not graph' --junit-xml=standalone-resp{protocol}-results.xml"
6665
)
6766

6867

0 commit comments

Comments
 (0)