Skip to content

122 adding IoR properties #94

122 adding IoR properties

122 adding IoR properties #94

Workflow file for this run

# 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 optical material properties JSON schemas
uses: cardinalby/schema-validator-action@v3
with:
schema: ./schemas/material_optical_schema.json
file: ./examples/*_optical.xompt
- name: Validate brdf JSON schemas
uses: cardinalby/schema-validator-action@v3
with:
schema: ./schemas/material_brdf_schema.json
file: ./examples/*_brdf.xompt