Skip to content

Commit

Permalink
chore(ci): Skip stable validation for datasets with unreleased features
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Nov 11, 2024
1 parent 57e55af commit b837048
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/validate_datasets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,16 @@ jobs:
fi
shell: bash

- name: Skip MRS validation for legacy validator
- name: Skip legacy validation for post-legacy datasets
run: for DS in mrs_* dwi_deriv; do touch $DS/.SKIP_VALIDATION; done
if: matrix.bids-validator == 'legacy'
shell: bash

- name: Skip stable validation for datasets with unreleased features
run: for DS in dwi_deriv; do touch $DS/.SKIP_VALIDATION; done
if: matrix.bids-validator != 'dev'
shell: bash

- name: Set BIDS_SCHEMA variable for dev version
if: matrix.bids-validator == 'dev'
# When proposing new features, schema changes may be necessary.
Expand Down

0 comments on commit b837048

Please sign in to comment.