Skip to content

Commit 1f55b17

Browse files
committed
deno may not be installed
1 parent ef0302e commit 1f55b17

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/unit_tests.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,13 @@ jobs:
245245
246246
- name: Install BIDS validator (main-schema)
247247
if: matrix.bids-validator-version == 'validator-main-schema'
248-
# If unmerged validator PRs are needed for testing, you can use
249-
# https://github.com/<FORK>/bids-validator/raw/<BRANCH>/bids-validator/src/bids-validator.ts
248+
# Follow documentation here:
249+
# - https://github.com/bids-standard/bids-validator/tree/master/bids-validator/src
250+
# - https://github.com/bids-standard/bids-examples/blob/7c18d6840982518a0251cfeb59fe5c4610099ea1/.github/workflows/validate_datasets.yml#L69-L75
251+
#
252+
# Note: in the future, we may want to make it easy to use:
253+
# - a different version of the validator (stable, main)
254+
# - a different version of the schema (stable, main)
250255
run: |
251256
deno install -Agf https://github.com/bids-standard/bids-validator/raw/deno-build/bids-validator.js
252257
@@ -277,7 +282,7 @@ jobs:
277282
date
278283
echo "(npm version)"; npm --version
279284
echo "node"; node --version
280-
echo "(deno version)"; deno --version
285+
echo "(deno version)"; deno --version || echo ""
281286
echo "(bids-validator version)"; bids-validator --version
282287
echo "(python version)"; python --version
283288
echo "(which python)"; which python

0 commit comments

Comments
 (0)