Add example brdf data and brdf schema #82
Workflow file for this run
This file contains 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
# Validate JSON schema files | |
# Source: https://github.com/cardinalby/schema-validator-action | |
# Forked from: https://github.com/marketplace/actions/schema-validation-action | |
name: Validate JSON schemas for assets and materials | |
on: | |
pull_request: | |
paths: | |
- 'examples/**' | |
- 'schemas/**' | |
jobs: | |
validate-github-actions-workflows: | |
name: JSON schema validation | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout files | |
uses: actions/checkout@v1 | |
- name: Validate asset JSON schemas | |
uses: cardinalby/schema-validator-action@v3 | |
with: | |
schema: ./schemas/asset_schema.json | |
file: ./examples/*.xoma | |
- name: Validate material mapping JSON schemas | |
uses: cardinalby/schema-validator-action@v3 | |
with: | |
schema: ./schemas/mapping_schema.json | |
file: ./examples/*.xomm | |
- name: Validate material JSON schemas | |
uses: cardinalby/schema-validator-action@v3 | |
with: | |
schema: ./schemas/material_schema.json | |
file: ./examples/*.xomp | |
- name: Validate electromagnetic material properties JSON schemas | |
uses: cardinalby/schema-validator-action@v3 | |
with: | |
schema: ./schemas/material_emp_schema.json | |
file: ./examples/*_emp.xompt | |
- name: Validate brdf JSON schemas | |
uses: cardinalby/schema-validator-action@v3 | |
with: | |
schema: ./schemas/material_brdf_schema.json | |
file: ./examples/*_brdf.xompt |