diff --git a/.github/workflows/acceptance-test.yml b/.github/workflows/acceptance-test.yml index 5fa981b..b02e9bb 100644 --- a/.github/workflows/acceptance-test.yml +++ b/.github/workflows/acceptance-test.yml @@ -46,6 +46,18 @@ jobs: __tests__/**/test1.yml __tests__/**/test*.json + - name: acceptance test - custom formats + uses: ./ + id: json-yaml-validate-custom-formats-test + with: + comment: "true" + json_schema: ./__tests__/fixtures/schemas/schema_with_custom_ajv_regexp_format.json + ajv_custom_regexp_formats: | + lowercase_char=^[a-z]*$ + lowercase_alphanumeric=^[a-z0-9]*$ + files: | + __tests__/fixtures/json/custom_ajv_regexp_format/valid.json + - name: acceptance test - flat yaml uses: ./ id: json-yaml-validate-flat-yaml-test