@@ -152,64 +152,6 @@ jobs:
152
152
- name : Run Coverage Tests
153
153
run : ./test.sh coverage
154
154
shell : bash
155
- - name : Rename Coverage Data Files
156
- run : mv .coverage .coverage.${{ matrix.os }}.${{ matrix.python-version }}
157
- shell : bash
158
- - name : Upload Coverage Data to Github
159
- uses : actions/upload-artifact@v4
160
- with :
161
- name : coverage-data-${{ matrix.os }}-${{ matrix.python-version }}
162
- path : .coverage.${{ matrix.os }}.${{ matrix.python-version }}
163
- include-hidden-files : true
164
- if-no-files-found : ignore
165
- coverage-aggregation :
166
- name : Combine and Check Coverage
167
- if : always()
168
- needs : coverage-testing
169
- runs-on : ubuntu-latest
170
- steps :
171
- - uses : actions/checkout@v4
172
- with :
173
- python-version : ' 3.12'
174
- - name : Display Python Version
175
- run : python -c "import sys; print(sys.version)"
176
- shell : bash
177
- - name : Upgrade Pip
178
- run : python -m pip install --upgrade pip
179
- shell : bash
180
- - name : Install STUMPY And Other Dependencies
181
- run : python -m pip install --editable .[ci]
182
- shell : bash
183
- - name : Run Black
184
- run : black --check --diff ./
185
- shell : bash
186
- - name : Run Flake8
187
- run : flake8 ./
188
- shell : bash
189
- - name : Link OpenMP
190
- run : |
191
- if [ "$RUNNER_OS" == "macOS" ]; then
192
- echo "Installing OpenMP"
193
- brew install libomp
194
- echo "Linking OpenMP"
195
- brew link --force libomp
196
- echo "Find OpenMP Linking Location"
197
- libfile=`brew list libomp --verbose | grep libomp.dylib`
198
- echo $libfile
199
- echo "Changing @rpath for the omppool.cpython-x-darwin.so shared object to look in $libfile"
200
- ls "$(python -c 'import site; print(site.getsitepackages()[0])')"/numba/np/ufunc/omppool.*.so | xargs install_name_tool -change @rpath/libomp.dylib $libfile
201
- fi
202
- shell : bash
203
- - name : Show Full Numba Environment
204
- run : python -m numba -s
205
- shell : bash
206
- - uses : actions/download-artifact@v4
207
- with :
208
- pattern : coverage-data-*
209
- merge-multiple : true
210
- - name : Combine Coverage Files
211
- run : ./test.sh combine
212
- shell : bash
213
- - name : Show Coverage Report
155
+ - name : Show Coverage Results
214
156
run : ./test.sh report
215
157
shell : bash
0 commit comments