Skip to content

Commit 6b79e78

Browse files
committed
Fix run-tests action
1 parent 0daf73b commit 6b79e78

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

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

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,16 @@ runs:
3535
CLIENT_LIBS_TEST_IMAGE: "redislabs/client-libs-test:${{ inputs.redis-version }}"
3636
run: |
3737
set -e
38-
38+
3939
echo "::group::Installing dependencies"
4040
pip install -U setuptools wheel
4141
pip install -r requirements.txt
4242
pip install -r dev_requirements.txt
4343
if [ "${{inputs.parser-backend}}" == "hiredis" ]; then
44-
pip install hiredis${{inputs.hiredis-version}}
44+
pip install hiredis${{inputs.hiredis-version}}
45+
echo "PARSER_BACKEND=${{inputs.parser-backend}}_${"${{inputs.hiredis-version}}"//[^a-zA-Z0-9]/_}" >> $GITHUB_ENV
46+
else
47+
echo "PARSER_BACKEND=${{inputs.parser-backend}}" >> $GITHUB_ENV
4548
fi
4649
echo "::endgroup::"
4750
@@ -113,17 +116,10 @@ runs:
113116
redis-cli -p 16379 CLUSTER NODES
114117
shell: bash
115118

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-
123119
- name: Upload test results and profiling data
124120
uses: actions/upload-artifact@v4
125121
with:
126-
name: pytest-results-${{inputs.redis-version}}-${{inputs.parser-backend}}-${{inputs.python-version}}-${{inputs.event-loop}}
122+
name: pytest-results-redis_${{inputs.redis-version}}-python_${{inputs.python-version}}-parser_${{env.PARSER_BACKEND}}-el_${{inputs.event-loop}}
127123
path: |
128124
*-results.xml
129125
prof/**

0 commit comments

Comments
 (0)