Skip to content

Sync pipeline and use SI 0.101.0 SortingAnalyzer #52

Sync pipeline and use SI 0.101.0 SortingAnalyzer

Sync pipeline and use SI 0.101.0 SortingAnalyzer #52

Workflow file for this run

name: Testing pipeline
on:
pull_request:
types: [synchronize, opened, reopened]
branches:
- main
env: # For the sortingview backend
KACHERY_CLOUD_CLIENT_ID: ${{ secrets.KACHERY_CLOUD_CLIENT_ID }}
KACHERY_CLOUD_PRIVATE_KEY: ${{ secrets.KACHERY_CLOUD_PRIVATE_KEY }}
concurrency: # Cancel previous workflows on the same pull request
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-and-test:
name: Test on ${{ matrix.os }} OS
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install -U pip # Official recommended way
pip install pytest
pip install pyvips
pip install kilosort==4.0.12
pip install -e .
- name: Test pipeline with pytest
run: |
pytest -v
shell: bash # Necessary for pipeline to work on windows