Skip to content

Commit

Permalink
more working-directory setting. fix sym link from legacy test to curr…
Browse files Browse the repository at this point in the history
…ent tests
  • Loading branch information
rwblair committed Oct 15, 2024
1 parent 3ac00ad commit d3258d2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/test-bids-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,19 @@ jobs:
run: npm install --global npm

- name: Install bids-validator
working-directory: ./legacy
run: |
npm install
npm link ./bids-validator
echo "./node_modules/.bin" >> $GITHUB_PATH
- name: Get bids-examples data
working-directory: ./legacy
run: |
git clone --depth 1 https://github.com/bids-standard/bids-examples
- name: Display versions and environment information
working-directory: ./legacy
run: |
echo $TZ
export PATH="../node_modules/.bin:$PATH"
Expand All @@ -58,15 +61,17 @@ jobs:
ls -a $(which bids-validator)
- name: Ignore examples not supported by legacy validator
working-directory: ./legacy
run: |
for DS in bids-examples/mrs_*; do
touch $DS/.SKIP_VALIDATION
done
- name: Validate all BIDS datasets using bids-validator
working-directory: ./legacy
run: |
export PATH="../node_modules/.bin:$PATH"
cat ./run_tests.sh
bash ./run_tests.sh
shell: bash
working-directory: ./bids-examples
working-directory: /bids-examples
2 changes: 1 addition & 1 deletion bids-validator/tests
2 changes: 1 addition & 1 deletion legacy/bids-validator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -439,5 +439,5 @@ funded projects/grants:

- [BIDS Derivatives (NIMH: R24MH114705, PI: Poldrack)](https://grantome.com/grant/NIH/R24-MH114705-01)
- [OpenNeuro (NIMH: R24MH117179, PI: Poldrack)](https://grantome.com/grant/NIH/R24-MH117179-01)
- [Spokes: MEDIUM: WEST (NSF: 1760950, PI: Poldrack & Gorgolewski)](https://grantome.com/grant/NSF/IIS-1760950)
- [Spokes: MEDIUM: WEST (NSF: 1760950, PI: Poldrack & Gorgolewski)](https://grantome.com/grant/NSF/ACI-1760950)
- [ReproNim](http://repronim.org) [(NIH-NIBIB P41 EB019936, PI: Kennedy)](https://projectreporter.nih.gov/project_info_description.cfm?aid=8999833)

0 comments on commit d3258d2

Please sign in to comment.