From c45730818ec31b666e88e605c9c293888239efda Mon Sep 17 00:00:00 2001
From: Andreas Kloeckner <inform@tiker.net>
Date: Fri, 10 Jan 2025 12:18:27 -0600
Subject: [PATCH] Skip Nvidia test/example runs for now

This is in connection with the data center outage at ACB, and the
general flakiness of the available Titan Vs. Revert once new GPUs
are installed.
---
 ci-support.sh | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/ci-support.sh b/ci-support.sh
index 3580fee..2163d0c 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
-- 
GitLab