Bump bids/ext/reports/templates from 053253d
to ba6e2b9
#230
Workflow file for this run
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: 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'] | |
runs-on: ${{ matrix.os }} | |
name: ${{ matrix.os }} with Python ${{ matrix.python-version }} | |
defaults: | |
run: | |
shell: bash | |
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 | |
shell: bash {0} | |
run: python -c "import sys; print(sys.version)" | |
- name: Install pybids-reports | |
shell: bash {0} | |
run: pip install .[tests] | |
- name: Run tests | |
shell: bash {0} | |
run: pytest --pyargs bids.ext.reports --doctest-modules --cov=bids.ext.reports | |
- name: Upload coverage to CodeCov | |
uses: codecov/codecov-action@v4 | |
if: success() |