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:
|
||||
paths-ignore:
|
||||
- 'junifer/**'
|
||||
- '.github/workflows/**'
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- 'junifer/**'
|
||||
- '.github/workflows/**'
|
||||
jobs:
|
||||
run-tests:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
13
.github/workflows/ci.yml
vendored
13
.github/workflows/ci.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue