Fix runtime path in linux build against glibc versions #55
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Python Package using pre-built Linux binaries | |
on: | |
pull_request: | |
branches: [main] | |
types: [synchronize, opened, reopened, ready_for_review] | |
jobs: | |
build-and-test: | |
name: Test on ${{ matrix.os }} - Python ${{ matrix.python-version }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ["ubuntu-latest"] | |
python-version: ["3.9", "3.10", "3.11", "3.12"] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Python version | |
run: | | |
which python | |
- name: Install dependencies | |
run: | | |
pip install Cython | |
pip install . | |
pip install zarr | |
pip install pytest | |
- name: Installed wavpack version | |
run: | | |
python -c "import wavpack_numcodecs; print(wavpack_numcodecs.wavpack_version)" | |
- name: Test imports and version | |
run: | | |
pytest -s tests/test_imports.py | |
- name: Test with pytest | |
run: | | |
pytest -v |