Package dependency pins & test #2
Workflow file for this run
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-tiledbsoma-ml past tiledbsoma compat # Latest tiledbsoma version covered by another workflow | |
on: | |
pull_request: | |
branches: ["*"] | |
paths-ignore: | |
- "scripts/**" | |
push: | |
branches: [main] | |
paths-ignore: | |
- "scripts/**" | |
jobs: | |
unit_tests: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ["ubuntu-latest", "macos-latest"] | |
python-version: ["3.9", "3.10", "3.11", "3.12"] | |
tiledbsoma-version: | |
- "~=1.9.0" | |
- "~=1.10.0" | |
- "~=1.11.0" | |
- "~=1.12.0" | |
- "~=1.13.0" | |
- "~=1.14.0" | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: pip | |
- name: Install prereqs | |
run: | | |
pip install --upgrade pip pytest setuptools | |
pip install tiledbsoma=${{ matrix.tiledbsoma-version }} . | |
- name: Run tests | |
run: pytest -v tests |