Add exp bi00595a029 2026 #39
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CheckExperimentSchema.yml | |
| on: | |
| pull_request: | |
| paths: | |
| - 'experiments/**/README.yaml' | |
| workflow_dispatch: | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| env: | |
| FMDL_DATA_PATH: ${{ github.workspace }}/BilayerData | |
| steps: | |
| - name: Checkout BilayerData | |
| uses: actions/checkout@v6 | |
| with: | |
| repository: ${{ github.event.pull_request.head.repo.full_name }} | |
| ref: ${{ github.event.pull_request.head.ref }} | |
| path: BilayerData | |
| - name: Checkout Databank | |
| uses: actions/checkout@v6 | |
| with: | |
| repository: NMRlipids/FAIRMD_lipids | |
| ref: main | |
| path: Databank | |
| - name: Install check-jsonschema | |
| run: pip install check-jsonschema==0.34.1 | |
| - name: Validate metadata.yaml files | |
| working-directory: BilayerData | |
| run: | | |
| exit_code=0 | |
| while IFS= read -r file; do | |
| if [ -f "$file" ]; then | |
| check-jsonschema --schemafile ../Databank/src/fairmd/lipids/schema_validation/schema/experiment_schema.json "$file" || exit_code=1 | |
| fi | |
| done < <(find experiments -name README.yaml) | |
| exit $exit_code |