From 303bcfd4565f590a035f99a29830ef1172de0dfc Mon Sep 17 00:00:00 2001 From: Brady Johnston Date: Sat, 6 Apr 2024 12:39:37 +0800 Subject: [PATCH] skip potentially segfaulting tests on GHA --- tests/test_star.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_star.py b/tests/test_star.py index 29e43a2a..d53df983 100644 --- a/tests/test_star.py +++ b/tests/test_star.py @@ -10,7 +10,7 @@ try: import pyopenvdb SKIP = False -else: +except ImportError: SKIP = True @@ -84,7 +84,7 @@ def test_micrograph_loading(): assert ensemble.star_node.inputs['Micrograph'].default_value.name == 'montage.tiff' -@pytest.mark.skipif(SKIP) +@pytest.mark.skipif(SKIP, reason='Test may segfault on GHA') def test_rehydration(tmp_path): import bpy bpy.ops.wm.read_homefile()