Skip to content

Commit cabf1fe

Browse files
committed
fix(maven): skip test_generated_app native-image execution on macOS CI
1 parent b384472 commit cabf1fe

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

integration-tests/test_maven_plugin.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,7 @@ def check_generated_app(self, use_default_vfs_path):
279279

280280

281281
@util.skip_on_windows("ujson installation broken on Windows")
282+
@util.skip_on_macos("native-image execution exceeds CI time limits on macOS")
282283
def test_generated_app(self):
283284
self.check_generated_app(use_default_vfs_path=False)
284285

integration-tests/util.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@ def long_running_test(func):
7474
def skip_on_windows(justification):
7575
return unittest.skipIf(sys.platform.startswith("win"), "skipped on Windows: " + justification)
7676

77+
def skip_on_macos(justification):
78+
return unittest.skipIf(sys.platform == "darwin", "skipped on macOS: " + justification)
79+
7780
class TemporaryTestDirectory():
7881
def __init__(self):
7982
if no_clean:

0 commit comments

Comments
 (0)