From a3a941e58a7c7eacb4b4d0f79650119e5794b466 Mon Sep 17 00:00:00 2001 From: Hadia Ahmed Date: Wed, 28 Jan 2026 13:24:41 -0800 Subject: [PATCH] [run CI] skip if environment not set --- tests/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/conftest.py b/tests/conftest.py index 3bf635206..21cba80ce 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -2187,7 +2187,7 @@ def true_mask_server_info() -> MaskServerInfo: Returns the MaskServerInfo for the true Mask server. """ if not os.getenv("PYDOUGH_MASK_SERVER_PATH"): - raise RuntimeError("PYDOUGH_MASK_SERVER_PATH environment variable is not set") + pytest.skip("PYDOUGH_MASK_SERVER_PATH environment variable is not set") # Send a health request to ensure the server is reachable and functioning. # If not, then halt testing early.