Skip to content

ISSUE #11: Ignore empty file option added #29

ISSUE #11: Ignore empty file option added

ISSUE #11: Ignore empty file option added #29

Workflow file for this run

---
name: Self Test
'on':
pull_request:
branches: ['main']
jobs:
runValidation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run PyTest(s)
run: |
pip install -r requirements.txt
pip install -r requirements-test.txt
pytest test/ -rxXs
- name: Run Action (valid files)
uses: ./
with:
json-schema-file: test/schema/json_schema.json
yaml-json-file-dir: test/YAMLs/valid.json,test/JSONs/valid.json
- name: Run Action (empty files valid)
uses: ./
with:
json-schema-file: test/schema/json_schema.json
yaml-json-file-dir: test/emptyJSONs,test/emptyYAMLSs
- name: Run Action (check mapping)
uses: ./
with:
json-schema-file: test/schema/json_schema.json
yaml-json-file-dir: test/emptyJSONs,test/emptyYAMLSs
schema-mapping: 'test/emptyJSONs:test/schema/json_schema.json,test/emptyYAMLSs:test/schema/json_schema.json'