From 4491a51149f8724ecb0b5ea4e19af3bedc4a4e6b Mon Sep 17 00:00:00 2001 From: raspawar Date: Wed, 9 Apr 2025 13:06:06 +0000 Subject: [PATCH] skip nvidia integration in github actions --- tests/integration/providers/nvidia/conftest.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 tests/integration/providers/nvidia/conftest.py diff --git a/tests/integration/providers/nvidia/conftest.py b/tests/integration/providers/nvidia/conftest.py new file mode 100644 index 000000000..8beb113b0 --- /dev/null +++ b/tests/integration/providers/nvidia/conftest.py @@ -0,0 +1,14 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# This source code is licensed under the terms described in the LICENSE file in +# the root directory of this source tree. + +import os + +import pytest + +# Skip all tests in this directory when running in GitHub Actions +in_github_actions = os.environ.get("GITHUB_ACTIONS") == "true" +if in_github_actions: + pytest.skip("Skipping NVIDIA tests in GitHub Actions environment", allow_module_level=True)