Skip to content

Commit e20523b

Browse files
committed
Trying to fix CI for macOS runners with poor man's solution: skip them on macOS...
1 parent cb9560b commit e20523b

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

src/nectarchain/dqm/bokeh_app/tests/test_app_hooks.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
1+
import sys
2+
13
import numpy as np
2-
from bokeh.io import output_file, save
4+
import pytest
35

46
# bokeh imports
7+
from bokeh.io import output_file, save
58
from bokeh.layouts import layout
69
from bokeh.models import Select
710
from bokeh.plotting import curdoc
11+
12+
# ctapipe imports
813
from ctapipe.coordinates import EngineeringCameraFrame
914
from ctapipe.instrument import CameraGeometry
1015
from ZODB import DB
@@ -35,6 +40,7 @@ def test_make_camera_displays():
3540
make_camera_displays(test_dict, test_dict[runid], runid)
3641

3742

43+
@pytest.mark.skipif(sys.platform == "darwin")
3844
def test_bokeh(tmp_path):
3945
from nectarchain.dqm.bokeh_app.app_hooks import get_rundata, make_camera_displays
4046

src/nectarchain/dqm/tests/test_db_utils.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1+
import sys
2+
3+
import pytest
14
import transaction
25
from ZODB import DB
36

47

8+
@pytest.mark.skipif(sys.platform == "darwin")
59
class TestDQMDB:
610
@classmethod
711
def setup_class(cls):

0 commit comments

Comments
 (0)