Skip to content

Commit a657cdf

Browse files
committed
chore(ci): Use draft schema, shield pheno004 from older validators
1 parent d8e8fc3 commit a657cdf

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/validate_datasets.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,16 @@ jobs:
9696
shell: bash
9797

9898
- name: Skip legacy validation for post-legacy datasets
99-
run: for DS in mrs_* dwi_deriv; do touch $DS/.SKIP_VALIDATION; done
99+
run: for DS in mrs_* dwi_deriv pheno004; do touch $DS/.SKIP_VALIDATION; done
100100
if: matrix.bids-validator == 'legacy'
101101
shell: bash
102102

103-
- name: Skip stable validation for datasets with unreleased features
103+
- name: Skip stable validation for datasets with unreleased validator features
104+
run: for DS in pheno004; do touch $DS/.SKIP_VALIDATION; done
105+
if: matrix.bids-validator == 'stable'
106+
shell: bash
107+
108+
- name: Skip main validation for datasets with unreleased spec features
104109
run: for DS in dwi_deriv; do touch $DS/.SKIP_VALIDATION; done
105110
if: matrix.bids-validator != 'dev'
106111
shell: bash
@@ -111,7 +116,7 @@ jobs:
111116
# Update this URL to the schema.json from PRs to the spec, when needed.
112117
# If this variable is unset, dev will generally track the latest development
113118
# release of https://jsr.io/@bids/schema
114-
run: echo BIDS_SCHEMA=https://bids-specification.readthedocs.io/en/latest/schema.json >> $GITHUB_ENV
119+
run: echo BIDS_SCHEMA=https://bids-specification--2044.org.readthedocs.build/en/2044/schema.json >> $GITHUB_ENV
115120

116121
- name: Validate all BIDS datasets using bids-validator
117122
run: |

0 commit comments

Comments
 (0)