fix(ci, nvidia): do not use module level pytest skip for now

This commit is contained in:
Ashwin Bharambe 2025-07-31 12:31:40 -07:00
parent 752fd3b1c1
commit d1b300ead9
3 changed files with 14 additions and 14 deletions

View file

@ -3,3 +3,14 @@
#
# 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
# Reusable skip decorator for NVIDIA tests in GitHub Actions
# Adding this in conftest.py as a module level skip statement causes pytest to error
# out in certain cases.
skip_in_github_actions = pytest.mark.skipif(
os.environ.get("GITHUB_ACTIONS") == "true", reason="Skipping NVIDIA tests in GitHub Actions environment"
)