@@ -417,6 +417,86 @@ jobs:
417417 path : |
418418 ${{github.workspace}}/developer/aa_test.log
419419
420+ aatest_ds000114_fmri_localpipeline :
421+ name : Testing fMRI using local pipeline connection
422+
423+ # The type of runner that the job will run on
424+ runs-on : ubuntu-20.04
425+
426+ # Steps represent a sequence of tasks that will be executed as part of the job
427+ steps :
428+ - name : Maximize build space
429+ uses : easimon/maximize-build-space@master
430+ with :
431+ root-reserve-mb : ${{ env.DISKSIZE }}
432+ swap-size-mb : 1024
433+ remove-dotnet : ' true'
434+ remove-android : ' true'
435+ remove-haskell : ' true'
436+
437+ - name : Set git to use LF
438+ run : |
439+ git config --global core.autocrlf false
440+ git config --global core.eol lf
441+
442+ - name : Check out repository under $GITHUB_WORKSPACE
443+ uses : actions/checkout@v2
444+
445+ - name : Set up Python 3.6
446+ uses : actions/setup-python@v2
447+ with :
448+ # Semantic version range syntax or exact version of a Python version
449+ python-version : ' 3.6'
450+ # Optional - x64 or x86 architecture, defaults to x64
451+ architecture : ' x64'
452+
453+ - name : Set up MATLAB
454+ uses : matlab-actions/setup-matlab@v1
455+ with :
456+ # MATLAB release to set up R2020a
457+ release : R2020a
458+
459+ - name : Install tools and configure aa
460+ run : |
461+ python trigger_install.py
462+ working-directory : ${{github.workspace}}/.github/workflows
463+ env :
464+ LOAD_FSL : 0
465+ LOAD_FREESURFER : 0
466+ PARAMETER_XML : aap_parameters_defaults_GitHub.xml
467+
468+ - name : Retrive test data under $HOME/data/aa_demo
469+ run : |
470+ mkdir -p $HOME/data/aa_demo
471+ aws s3 cp s3://openneuro.org/ds000114 $HOME/data/aa_demo/ds000114 --quiet --recursive --exclude "*" --include "task-*" --no-sign-request
472+ aws s3 cp s3://openneuro.org/ds000114 $HOME/data/aa_demo/ds000114 --quiet --recursive --exclude "*" --include "dwi*" --no-sign-request
473+ aws s3 cp s3://openneuro.org/ds000114/sub-01 $HOME/data/aa_demo/ds000114/sub-01 --quiet --recursive --no-sign-request
474+ aws s3 cp s3://openneuro.org/ds000114/sub-02 $HOME/data/aa_demo/ds000114/sub-02 --quiet --recursive --no-sign-request
475+ aws s3 cp s3://openneuro.org/ds000114/sub-03 $HOME/data/aa_demo/ds000114/sub-03 --quiet --recursive --no-sign-request
476+ env :
477+ AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
478+ AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
479+ AWS_EC2_METADATA_DISABLED : true
480+
481+ - name : Run script
482+ uses : matlab-actions/run-command@v1
483+ with :
484+ command : addpath(getenv('GITHUB_WORKSPACE')); aa_ver5; SPM = spmClass(fullfile(getenv('HOME'),'tools','spm12')); SPM.load; aa_test('glob','aatest_ds000114_fmri_localpipeline','haltonerror',true)
485+
486+ - name : Archive data
487+ uses : actions/upload-artifact@v2
488+ with :
489+ name : aatest_ds000114_fmri
490+ path : |
491+ ~/projects/
492+
493+ - name : Archive log
494+ uses : actions/upload-artifact@v2
495+ with :
496+ name : testlog_${{github.job}}
497+ path : |
498+ ${{github.workspace}}/developer/aa_test.log
499+
420500 aatest_ds000114_scrubbing :
421501 name : Testing fMRI frame censoring
422502
0 commit comments