diff --git a/.github/workflows/run_tests.yaml b/.github/workflows/run_tests.yaml index 77ac1649..00972fa7 100644 --- a/.github/workflows/run_tests.yaml +++ b/.github/workflows/run_tests.yaml @@ -13,7 +13,7 @@ jobs: strategy: matrix: python-version: ["3.8", "3.9", "3.10", "3.11"] - os: [ubuntu-latest, windows-latest] + os: [ubuntu-latest, windows-latest, macos-latest] permissions: contents: read id-token: write diff --git a/tests/test_explorer.py b/tests/test_explorer.py index 6dafc429..0450781e 100644 --- a/tests/test_explorer.py +++ b/tests/test_explorer.py @@ -1,5 +1,7 @@ """Tests explorer""" -import openvds +import sys +if not sys.platform.startswith('darwin'): + import openvds import logging import json from pathlib import Path @@ -267,6 +269,7 @@ def test_get_case_by_uuid(explorer: Explorer, case_uuid: str, case_name: str): assert case.uuid == case_uuid assert case.name == case_name +@pytest.mark.skipif(sys.platform.startswith('darwin'), reason="do not run OpenVDS SEGYImport on mac os") def test_seismic_case_by_uuid(explorer: Explorer, seismic_case_uuid: str): """Test that explorer returns openvds compatible cubes for seismic case""" case = explorer.get_case_by_uuid(seismic_case_uuid)