diff --git a/tests.py b/tests.py
index 7e4a9c3fe09a0650bd76ea8f2cc3d7ecaddd112e..225c2cfa65e7169b6a5cf22a1e01a82b443935df 100644
--- a/tests.py
+++ b/tests.py
@@ -7,6 +7,7 @@ import subprocess
 from pathlib import Path
 import logging
 import datetime
+import sys
 
 import pytest
 
@@ -210,6 +211,7 @@ def test_install_environment_wrong_mpsd_release(tmp_path):
         )
 
 
+@pytest.mark.skipif(sys.platform == "darwin", reason="install not working on OSX")
 def test_install_environment_zlib():
     """Test installation of package_set."""
     # Prepare a test installation of global generic