MNT: Install ANTs from conda-forge (#3061) #920
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: Contribution checks | |
on: | |
push: | |
branches: | |
- master | |
- maint/* | |
pull_request: | |
branches: | |
- master | |
- maint/* | |
defaults: | |
run: | |
shell: bash | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
permissions: | |
contents: read | |
jobs: | |
stable: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: ['ubuntu-latest'] | |
python-version: [3] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Display Python version | |
run: python -c "import sys; print(sys.version)" | |
- name: Install black/isort | |
run: python -m pip install black isort[colors] | |
- name: Check fMRIPrep | |
run: | | |
python -m black --diff --color --check fmriprep | |
python -m isort --diff --color --check fmriprep | |
- name: Check wrapper | |
run: | | |
python -m black --diff --color --check wrapper | |
python -m isort --diff --color --check wrapper | |
codespell: | |
name: Check for spelling errors | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Codespell | |
uses: codespell-project/actions-codespell@v1 |