File tree Expand file tree Collapse file tree 3 files changed +19
-13
lines changed Expand file tree Collapse file tree 3 files changed +19
-13
lines changed Original file line number Diff line number Diff line change 44
44
- python-version : ' 3.12'
45
45
architecture : x86
46
46
47
+ env :
48
+ DEPENDS : ${{ matrix.dependencies }}
49
+ ARCH : ${{ matrix.architecture }}
50
+
47
51
steps :
48
52
- uses : actions/checkout@v3
49
53
with :
63
67
python -m pip install tox tox-gh-actions
64
68
- name : Show tox config
65
69
run : pipx run tox c
66
- env :
67
- DEPENDS : ${{ matrix.dependencies }}
68
70
- name : Run tox
69
71
run : tox
70
- env :
71
- DEPENDS : ${{ matrix.dependencies }}
72
72
- uses : codecov/codecov-action@v3
73
73
if : ${{ always() }}
74
74
with :
Original file line number Diff line number Diff line change @@ -135,6 +135,10 @@ jobs:
135
135
- python-version : ' 3.12'
136
136
architecture : x86
137
137
138
+ env :
139
+ DEPENDS : ${{ matrix.dependencies }}
140
+ ARCH : ${{ ! contains(['none', 'min'], matrix.dependencies) && matrix.architecture }}
141
+
138
142
steps :
139
143
- uses : actions/checkout@v3
140
144
with :
@@ -154,12 +158,8 @@ jobs:
154
158
python -m pip install tox tox-gh-actions
155
159
- name : Show tox config
156
160
run : pipx run tox c
157
- env :
158
- DEPENDS : ${{ matrix.dependencies }}
159
161
- name : Run tox
160
162
run : tox
161
- env :
162
- DEPENDS : ${{ matrix.dependencies }}
163
163
- uses : codecov/codecov-action@v3
164
164
if : ${{ always() }}
165
165
with :
Original file line number Diff line number Diff line change @@ -25,6 +25,9 @@ DEPENDS =
25
25
full: full
26
26
min: min
27
27
28
+ ARCH =
29
+ x64: x64
30
+
28
31
CHECK =
29
32
build: build
30
33
doctest: doctest
63
66
min: scipy ==1.6
64
67
min: matplotlib ==3.4
65
68
min: pillow ==8.1
66
- min: h5py ==2.10
67
69
min: indexed_gzip ==1.4
68
70
min: pyzstd ==0.14.3
69
71
# Numpy 2.0 is a major breaking release; we cannot put much effort into
@@ -72,15 +74,19 @@ deps =
72
74
full,pre: scipy >=1.6
73
75
full,pre: matplotlib >=3.4
74
76
full,pre: pillow >=8.1
75
- # Exception: h5py 3.0.0 dropped win32 wheels, so extend back a little further
76
- full: h5py >=2.10
77
- # h5py missing 3.12 wheels, so disable from pre for now
78
- # full,pre: h5py >=3.0
79
77
full,pre: indexed_gzip >=1.4
80
78
full,pre: pyzstd >=0.14.3
81
79
min: pydicom ==2.1
82
80
full,pre: pydicom >=2.1
81
+ # pydicom master seems to be breaking things
83
82
# pre: pydicom @ git+https://github.com/pydicom/pydicom.git@main
83
+ # h5py is a pain. They dropped win32 wheels at 3.0, which only supports
84
+ # thru py39. Add a special -x64 environment to limit tests to x64. We
85
+ # will exclude this environment for none/min in GitHub actions.
86
+ min: h5py ==2.10
87
+ x64: h5py >=2.10
88
+ # h5py missing 3.12 wheels, so disable from pre for now
89
+ # pre: h5py >=2.10
84
90
85
91
commands =
86
92
pytest --doctest-modules --doctest-plus \
You can’t perform that action at this time.
0 commit comments