GHA: drop installing impacket for curl built without SMB support

Ref: #20846

Closes #20868
This commit is contained in:
Viktor Szakats 2026-03-09 13:15:59 +01:00
parent 3b43b9080d
commit 15932f2ac5
No known key found for this signature in database
4 changed files with 16 additions and 5 deletions

View file

@ -851,7 +851,9 @@ jobs:
if: ${{ !contains(matrix.build.install_steps, 'skipall') && !contains(matrix.build.install_steps, 'skiprun') && matrix.build.container == null }}
run: |
python3 -m venv ~/venv
~/venv/bin/pip --disable-pip-version-check --no-input --no-cache-dir install --progress-bar off --prefer-binary -r tests/requirements.txt
if bld/src/curl --disable -V 2>/dev/null | grep smb; then
~/venv/bin/pip --disable-pip-version-check --no-input --no-cache-dir install --progress-bar off --prefer-binary -r tests/requirements.txt
fi
- name: 'run tests'
if: ${{ !contains(matrix.build.install_steps, 'skipall') && !contains(matrix.build.install_steps, 'skiprun') }}