Skip to content

update MANIFEST.in #431

update MANIFEST.in

update MANIFEST.in #431

name: pytest
on: push
env:
UV_SYSTEM_PYTHON: 1
jobs:
integrity_check:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.10", "3.14"]
steps:
- uses: actions/checkout@v4
with:
lfs: true
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
- name: Install dependencies
run: |
uv pip install .[examples] pytest-xdist --group dev
- name: Run Ruff
run: |
uv pip install ruff
ruff check src
- name: Link OpenMP on MacOS
run: |
if [ "$RUNNER_OS" == "macOS" ]; then
# Fix libiomp.dylib, as found in STUMPY: https://github.com/TDAmeritrade/stumpy
echo "Installing OpenMP"
brew install libomp
echo "Linking OpenMP"
brew link --force libomp
echo "Find OpenMP Linking Location"
libfile=`brew list libomp --verbose | grep libomp.dylib`
echo $libfile
echo "Changing @rpath for the omppool.cpython-x-darwin.so shared object to look in $libfile"
ls "$(python -c 'import site; print(site.getsitepackages()[0])')"/numba/np/ufunc/omppool.*.so | xargs install_name_tool -change @rpath/libomp.dylib $libfile
fi
shell: bash
- name: Numba environment report
run: python -m numba -s
- name: Pytest
run: pytest -n auto