Skip to content

Commit

Permalink
deno may not be installed
Browse files Browse the repository at this point in the history
  • Loading branch information
sappelhoff committed Oct 15, 2024
1 parent 68e8bbc commit f42cf25
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,13 @@ jobs:
- name: Install BIDS validator (main-schema)
if: matrix.bids-validator-version == 'validator-main-schema'
# If unmerged validator PRs are needed for testing, you can use
# https://github.com/<FORK>/bids-validator/raw/<BRANCH>/bids-validator/src/bids-validator.ts
# Follow documentation here:
# - https://github.com/bids-standard/bids-validator/tree/master/bids-validator/src
# - https://github.com/bids-standard/bids-examples/blob/7c18d6840982518a0251cfeb59fe5c4610099ea1/.github/workflows/validate_datasets.yml#L69-L75
#
# Note: in the future, we may want to make it easy to use:
# - a different version of the validator (stable, main)
# - a different version of the schema (stable, main)
run: |
deno install -Agf https://github.com/bids-standard/bids-validator/raw/deno-build/bids-validator.js
Expand Down Expand Up @@ -257,7 +262,7 @@ jobs:
date
echo "(npm version)"; npm --version
echo "node"; node --version
echo "(deno version)"; deno --version
echo "(deno version)"; deno --version || echo ""
echo "(bids-validator version)"; bids-validator --version
echo "(python version)"; python --version
echo "(which python)"; which python
Expand Down

0 comments on commit f42cf25

Please sign in to comment.