File tree Expand file tree Collapse file tree 1 file changed +33
-1
lines changed Expand file tree Collapse file tree 1 file changed +33
-1
lines changed Original file line number Diff line number Diff line change @@ -171,12 +171,44 @@ jobs:
171171 - uses : actions/checkout@v4
172172 with :
173173 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
174206 - uses : actions/download-artifact@v4
175207 with :
176208 pattern : coverage-data-*
177209 merge-multiple : true
178210 - name : Combine Coverage Files and Fail If Under 100%
179- run : ls .coverage. *
211+ run : ./test.sh combine *
180212 shell : bash
181213 - name : Generate Coverage Report
182214 run : ./test.sh report coverage.stumpy.json
You can’t perform that action at this time.
0 commit comments