update: add AFNI to CI #153
2 changed files with 14 additions and 1 deletions
2
.github/workflows/ci-docs.yml
vendored
2
.github/workflows/ci-docs.yml
vendored
|
|
@ -4,9 +4,11 @@ on:
|
||||||
push:
|
push:
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- 'junifer/**'
|
- 'junifer/**'
|
||||||
|
- '.github/workflows/**'
|
||||||
pull_request:
|
pull_request:
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- 'junifer/**'
|
- 'junifer/**'
|
||||||
|
- '.github/workflows/**'
|
||||||
jobs:
|
jobs:
|
||||||
run-tests:
|
run-tests:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
||||||
13
.github/workflows/ci.yml
vendored
13
.github/workflows/ci.yml
vendored
|
|
@ -4,9 +4,11 @@ on:
|
||||||
push:
|
push:
|
||||||
paths:
|
paths:
|
||||||
- 'junifer/**'
|
- 'junifer/**'
|
||||||
|
- '.github/workflows/**'
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- 'junifer/**'
|
- 'junifer/**'
|
||||||
|
- '.github/workflows/**'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
run-tests:
|
run-tests:
|
||||||
|
|
@ -31,10 +33,19 @@ jobs:
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
- name: Install dependencies
|
- name: Install Python dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip setuptools wheel
|
python -m pip install --upgrade pip setuptools wheel
|
||||||
python -m pip install tox tox-gh-actions
|
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
|
- name: Test with tox
|
||||||
run: |
|
run: |
|
||||||
tox
|
tox
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue