We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4e2500 commit b687ff8Copy full SHA for b687ff8
1 file changed
.github/workflows/unit_tests.yml
@@ -289,14 +289,16 @@ jobs:
289
- name: Clear installer cache on failure
290
if: failure()
291
run: |
292
+ source "${{ matrix.env_name }}/bin/activate"
293
+
294
INSTALL_CMD='${{ matrix.install_cmd }}'
295
296
if [[ "$INSTALL_CMD" == uv* || "$INSTALL_CMD" == *" uv "* ]]; then
297
echo "[INFO] Previous install command uses uv, clearing uv cache..."
298
uv cache clean
299
elif [[ "$INSTALL_CMD" == pip* || "$INSTALL_CMD" == *" pip "* ]]; then
300
echo "[INFO] Previous install command uses pip, clearing pip cache..."
- python -m pip cache purge || rm -rf ~/.cache/pip
301
+ pip cache purge || rm -rf ~/.cache/pip
302
fi
303
echo "RETRY_INSTALL=true" >> $GITHUB_ENV
304
0 commit comments