Skip to content

Apply suggestions from code review #605

Apply suggestions from code review

Apply suggestions from code review #605

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