Skip to content

Commit 1783e2f

Browse files
committed
fix syntax
Signed-off-by: Petra Hapalova <[email protected]>
1 parent 8c5c6c1 commit 1783e2f

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

.github/workflows/fvdb-viz-integration.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,9 @@ jobs:
117117
PYTEST_EXPR="test_fvdb_viz_with_release_package"
118118
fi
119119
120-
LOCAL_ENV=()
120+
LOCAL_ENV_ARGS=()
121121
if [[ "${{ steps.config.outputs.use_local }}" == "true" ]]; then
122-
LOCAL_ENV+=(-e FVDB_VIZ_LOCAL_DIST="${{ steps.local_wheel.outputs.container_path }}")
122+
LOCAL_ENV_ARGS+=(-e FVDB_VIZ_LOCAL_DIST="${{ steps.local_wheel.outputs.container_path }}")
123123
fi
124124
125125
docker run --rm \
@@ -134,17 +134,9 @@ jobs:
134134
-e LP_NUM_THREADS=1 \
135135
-e LIBGL_ALWAYS_SOFTWARE=1 \
136136
-e GALLIUM_DRIVER=llvmpipe \
137-
"${LOCAL_ENV[@]}" \
137+
"${LOCAL_ENV_ARGS[@]}" \
138138
-v "${GITHUB_WORKSPACE}":/workspace \
139139
-w /workspace \
140140
"fvdb-viz-${{ steps.config.outputs.package_stream }}" \
141-
bash -lc "set -euo pipefail
142-
pip install --break-system-packages pytest >/tmp/pip.log
143-
python - <<'PY'
144-
import importlib
145-
mod = importlib.import_module('nanovdb_editor')
146-
version = getattr(mod, '__version__', 'unknown')
147-
print(f'nanovdb_editor version: {version}')
148-
PY
149-
pytest pytests/test_fvdb_viz_integration.py -k ${PYTEST_EXPR} -vv"
141+
bash -lc $'set -euo pipefail\npip install --break-system-packages pytest >/tmp/pip.log\npython - <<\'PY\'\nimport importlib\nmod = importlib.import_module("nanovdb_editor")\nversion = getattr(mod, "__version__", "unknown")\nprint(f"nanovdb_editor version: {version}")\nPY\npytest pytests/test_fvdb_viz_integration.py -k '"${PYTEST_EXPR}"' -vv'
150142

0 commit comments

Comments
 (0)