Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Also run github actions tests on macos #230

Merged
merged 3 commits into from
Oct 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/run_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 4 additions & 1 deletion tests/test_explorer.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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)
Expand Down
Loading