Commit c4573081 authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

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.
parent 8cf069cc
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -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