Add 'exclude' field #67
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: CI | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: 'true' | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: "3.8" | |
- name: Install | |
run: | | |
python -m pip install --upgrade pip | |
pip install .[dev,test] | |
- name: Check quality | |
run: | | |
black --check bids2table tests | |
isort --check-only bids2table tests | |
flake8 bids2table tests | |
pylint --fail-under 9.0 bids2table | |
mypy bids2table | |
- name: Run tests | |
run: pytest --cov=bids2table tests | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v3 |