Skip to content

[FIX] extract tests (#107) #246

[FIX] extract tests (#107)

[FIX] extract tests (#107) #246

Workflow file for this run

---
name: Run Tests
on:
push:
branches:
- main
pull_request:
branches:
- '*'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
run_tests:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
runs-on: ${{ matrix.os }}
name: ${{ matrix.os }} with Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install pybids-reports
run: pip install tox
- name: Run tests
run: tox run -e test -- tests
- name: Upload coverage to CodeCov
uses: codecov/codecov-action@v5
if: success()