Skip to content

added freesurfer 7.3.2 #210

added freesurfer 7.3.2

added freesurfer 7.3.2 #210

Workflow file for this run

name: CI
on:
pull_request:
branches: [ master ]
jobs:
run-tests:
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: ['3.11', '3.10', '3.9', '3.8']
steps:
- name: Install Apptainer
env:
VERSION: 1.1.5
run: |
sudo apt-get update
sudo apt-get install -y wget
wget https://github.com/apptainer/apptainer/releases/download/v${VERSION}/apptainer_${VERSION}_amd64.deb
wget https://github.com/apptainer/apptainer/releases/download/v${VERSION}/apptainer-suid_${VERSION}_amd64.deb
sudo apt-get install --yes ./apptainer*
- name: Set Apptainer/Singularity environment variables
run: |
# Give reproenv the full path to apptainer, so it still works with `sudo`.
echo REPROENV_APPTAINER_PROGRAM=apptainer >> $GITHUB_ENV
echo APPTAINER_CACHEDIR=/dev/shm/$(whoami)/singularity >> $GITHUB_ENV
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install neurodocker
run: python -m pip install --editable .[dev]
- name: Check types
run: mypy --install-types --non-interactive neurodocker
- name: Check style
run: flake8 neurodocker
- name: Check black formatting
run: black --check neurodocker
- name: Run python tests
run: pytest --numprocesses auto
- name: Get code coverage
run: codecov