From 3331f805ebf498ad814f05e23c54cd67366ce5ce Mon Sep 17 00:00:00 2001 From: Ross Blair Date: Tue, 15 Oct 2024 14:30:06 -0500 Subject: [PATCH] more working-directory setting. fix sym link from legacy test to current tests --- .github/workflows/test-bids-examples.yml | 7 ++++++- bids-validator/tests | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-bids-examples.yml b/.github/workflows/test-bids-examples.yml index 496a9d5aa..eb3d1cfbf 100644 --- a/.github/workflows/test-bids-examples.yml +++ b/.github/workflows/test-bids-examples.yml @@ -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" @@ -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 diff --git a/bids-validator/tests b/bids-validator/tests index fade74556..0ea139f04 120000 --- a/bids-validator/tests +++ b/bids-validator/tests @@ -1 +1 @@ -../legacy/bids-validator-legacy/tests/ \ No newline at end of file +../legacy/bids-validator/tests/ \ No newline at end of file