update: add AFNI to CI #153

Merged
synchon merged 6 commits from update/ci into main 2022-12-19 12:22:08 +00:00
2 changed files with 14 additions and 1 deletions

View file

@ -4,9 +4,11 @@ on:
push:
paths-ignore:
- 'junifer/**'
- '.github/workflows/**'
pull_request:
paths-ignore:
- 'junifer/**'
- '.github/workflows/**'
jobs:
run-tests:
runs-on: ubuntu-latest

View file

@ -4,9 +4,11 @@ on:
push:
paths:
- 'junifer/**'
- '.github/workflows/**'
pull_request:
paths:
- 'junifer/**'
- '.github/workflows/**'
jobs:
run-tests:
@ -31,10 +33,19 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install tox tox-gh-actions
- name: Install AFNI
run: |
docker pull afni/afni_make_build
echo "$(pwd)/junifer/api/res/afni" >> $GITHUB_PATH
if: matrix.python-version == 3.10
- name: Check AFNI
run: |
echo "Using AFNI : $(afni --version)"
if: matrix.python-version == 3.10
- name: Test with tox
run: |
tox