Unify compute_isi_violation docs and add UltraMegaSort2000 citation #5218
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: Test streaming extractors | |
on: | |
pull_request: | |
types: [synchronize, opened, reopened] | |
branches: | |
- main | |
concurrency: # Cancel previous workflows on the same pull request | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test-streaming-extractors: | |
name: Testing using ${{ matrix.os }} with ${{ matrix.python-version }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ["ubuntu-latest"] | |
python-version: ["3.10"] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- uses: s-weigand/setup-conda@v1 | |
with: | |
update-conda: true | |
python-version: ${{ matrix.python-version }} | |
conda-channels: conda-forge | |
- name: Get changed files | |
id: changed-files | |
uses: tj-actions/changed-files@v41 | |
- name: Module changes | |
id: modules-changed | |
run: | | |
for file in ${{ steps.changed-files.outputs.all_changed_files }}; do | |
if [[ $file == *"/nwbextractors.py" || $file == *"/iblstreamingrecording.py"* ]]; then | |
echo "Streaming files changed changed" | |
echo "STREAMING_CHANGED=true" >> $GITHUB_OUTPUT | |
fi | |
done | |
- name: Install package and streaming extractor dependencies | |
if: ${{ steps.modules-changed.outputs.STREAMING_CHANGED == 'true' }} | |
run: pip install -e .[test_core,streaming_extractors] | |
- name: run tests | |
if: steps.modules-changed.outputs.STREAMING_CHANGED == 'true' | |
run: pytest -m "streaming_extractors" -vv -ra |