Skip to content

Commit b780f23

Browse files
Remove self-hosted runner check from slangpy dependencies
The conditional check is no longer needed as permission issues have been resolved. Slangpy-samples dependencies already install on self-hosted runners without issues.
1 parent f06100b commit b780f23

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.github/workflows/ci-slang-test.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -214,14 +214,11 @@ jobs:
214214
# Export SITE_PACKAGES for use in slangpy-samples step
215215
echo "SITE_PACKAGES=$SITE_PACKAGES" >> $GITHUB_ENV
216216
217-
# Skip package installation on self-hosted runners to avoid permission issues
218-
if [[ ! "${{ inputs.runs-on }}" =~ self-hosted ]]; then
219-
echo "Installing python packages..."
220-
curl -fsSL https://raw.githubusercontent.com/shader-slang/slangpy/main/requirements-dev.txt -o requirements-dev.txt
221-
python -m pip install -r requirements-dev.txt --user
222-
python -m pip install pytest-github-actions-annotate-failures --user
223-
python -m pip install pytest-xdist --user
224-
fi
217+
echo "Installing python packages..."
218+
curl -fsSL https://raw.githubusercontent.com/shader-slang/slangpy/main/requirements-dev.txt -o requirements-dev.txt
219+
python -m pip install -r requirements-dev.txt --user
220+
python -m pip install pytest-github-actions-annotate-failures --user
221+
python -m pip install pytest-xdist --user
225222
226223
echo "Running pytest on slangpy tests..."
227224
export PYTHONPATH="$SITE_PACKAGES"

0 commit comments

Comments
 (0)