[ENH/FIX] Changes for reward bundles and VOF #828
Workflow file for this run
This file contains hidden or 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: Test suite | |
| on: [push, pull_request] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| max-parallel: 4 | |
| matrix: | |
| python-version: ["3.11", "3.12", "3.13"] | |
| nibabel-pre: [true, false] | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v1 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v1 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install .[all] | |
| - name: Nibabel pre-release installation | |
| if: ${{ matrix.nibabel-pre }} | |
| run: | | |
| pip install --pre nibabel | |
| - name: Check Dependencies | |
| run: | | |
| python -m pip check | |
| - name: Lint | |
| run: | | |
| ruff check . | |
| - name: Test | |
| run: | | |
| cd && mkdir for_test && cd for_test && pytest --pyargs AFQ --cov-report term-missing --cov=AFQ -m "not nightly and not nightly_basic and not nightly_custom and not nightly_anisotropic and not nightly_slr and not nightly_reco and not nightly_reco80" --durations=0 |