Merge pull request #134 from bclenet/packaging #57
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: nidm_examples parsed to bids-prov from spm and fsl parser | |
on: | |
push: | |
paths: | |
- 'context.json' | |
- 'bids_prov/**' | |
- 'examples/from_parsers/**' | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: Setup Python | |
uses: actions/setup-python@master | |
with: | |
python-version: 3.10.6 | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install pytest | |
pip install -r dev-requirements.txt | |
sudo apt-get install graphviz | |
- name: SPM/FSL/AFNI parsing on nidm-examples | |
run: | | |
./fetch_nidmresults-examples | |
./launch_parser_on_nidm.py --input_dir nidmresults-examples --output_dir examples/from_parsers | |
- name: push on the repo the dir "examples/from_parsers" | |
run: | | |
git config user.name "GitHub Actions Bot" | |
git config user.email "<>" | |
git add examples/from_parsers | |
git commit -m "automated nidm example computation from github action " | |
git push |