Skip to content

Merge branch 'main' into no-write-complex #597

Merge branch 'main' into no-write-complex

Merge branch 'main' into no-write-complex #597

name: integration tests
on:
push:
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
name: integration tests
steps:
- uses: actions/checkout@v1
- name: Install
run: pip install -e .
- name: Install packages needed for tests
# pyright 1.1.336 can produce annoying errors
run: pip install pytest pytest-cov pyright==1.1.335
- name: Install pynwb needed for tests
run: pip install pynwb
- name: Run pyright
run: cd lindi && pyright
- name: Run tests and collect coverage
run: pytest --cov lindi --cov-report=xml --cov-report=term tests/
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: NeurodataWithoutBorders/lindi