diff --git a/ci-support.sh b/ci-support.sh index 3580fee11024fd5264785018c9f95c8f9eb912d3..2163d0caf485e74998fd580160ce319f77008d6e 100644 --- a/ci-support.sh +++ b/ci-support.sh @@ -435,6 +435,11 @@ test_py_project() { rewrite_pyopencl_test + if [[ $PYOPENCL_TEST = *nvi* ]]; then + echo "Nvidia GPUs currently unavailable, not running tests" + return + fi + $PY_EXE -m pip install pytest pytest-github-actions-annotate-failures # Needed for https://github.com/utgwkk/pytest-github-actions-annotate-failures @@ -555,6 +560,11 @@ run_examples() { rewrite_pyopencl_test + if [[ $PYOPENCL_TEST = *nvi* ]]; then + echo "Nvidia GPUs currently unavailable, not running tests" + return + fi + if test "$1" == "--no-require-main"; then MAIN_FILTER=() else