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 3331f80
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 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

0 comments on commit 3331f80

Please sign in to comment.