Skip to content

Maint: parc.find_regions as module method. clarify find_regions #725

Maint: parc.find_regions as module method. clarify find_regions

Maint: parc.find_regions as module method. clarify find_regions #725

Workflow file for this run

name: '[test] coverage'
on:
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.7
uses: actions/setup-python@v4
with:
python-version: 3.7
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -U .
pip install -r requirements-test.txt
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Generate coverage
run: |
pytest --cov=siibra --cov-report=xml
- name: Upload coverage report to codecov
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true # optional (default = false)
verbose: true # optional (default = false)
token: ${{ secrets.CODECOV_TOKEN }}