File tree 2 files changed +12
-6
lines changed
2 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 65
65
fail-fast : false
66
66
matrix :
67
67
py3 : ${{ fromJSON(needs.py-versions.outputs.matrix) }}
68
+ exclude :
69
+ - py3 : 3.8
70
+ - py3 : 3.10
68
71
container :
69
72
image : icecube/icetray:icetray-prod-current-ubuntu22.04
70
73
steps :
74
77
python-version : ${{ matrix.py3 }}
75
78
- name : pip setup
76
79
run : |
77
- pip install --upgrade pip wheel setuptools pytest
80
+ pip install --upgrade pip wheel setuptools pytest packaging
78
81
pip install .[tests]
79
82
- name : test
80
83
run : |
90
93
matrix :
91
94
py3 : ${{ fromJSON(needs.py-versions.outputs.matrix) }}
92
95
file : [Level2pass2_IC86.2011_data_Run00118435_Subrun00000000_00000144_event58198553.i3, Level2pass2_IC86.2013_data_Run00124340_Subrun00000000_00000052_event19400842.i3]
96
+ exclude :
97
+ - py3 : 3.8
93
98
container :
94
- image : icecube/icetray:icetray-prod-current-ubuntu22.04-X64
99
+ image : icecube/icetray:icetray-prod-current-ubuntu22.04
95
100
steps :
96
101
- uses : actions/checkout@v3
97
102
# - uses: actions/setup-python@v3
@@ -108,7 +113,7 @@ jobs:
108
113
- name : test routine
109
114
run : |
110
115
/usr/local/icetray/env-shell.sh << EOF
111
- pip install --upgrade pip wheel setuptools pytest
116
+ pip install --upgrade pip wheel setuptools pytest packaging
112
117
pip install .[tests]
113
118
python3 skywriter/i3_to_json.py --extra "OnlineL2_SplineMPE" --extra "OnlineL2_BestFit" --basegcd /opt/i3-data/baseline_gcds/baseline_gcd_136897.i3 test-file.zst
114
119
EOF
Original file line number Diff line number Diff line change 16
16
17
17
18
18
# try old-style import for CI
19
- from icecube .icetray import I3Tray # type: ignore[import]
20
-
21
- # from I3Tray import I3Tray # type: ignore[import]
19
+ try :
20
+ from I3Tray import I3Tray # type: ignore[import]
21
+ except ImportError :
22
+ from icecube .icetray import I3Tray # type: ignore[import]
22
23
23
24
24
25
from icecube import ( # type: ignore[import] # noqa: F401
You can’t perform that action at this time.
0 commit comments