Skip to content

Commit 602dcb5

Browse files
committed
update acceptance tests
1 parent 5c43dd7 commit 602dcb5

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/acceptance-test.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,16 @@ jobs:
4545
files: |
4646
__tests__/**/test1.yml
4747
__tests__/**/test*.json
48+
49+
- name: acceptance test - custom formats
50+
uses: ./
51+
id: json-yaml-validate-custom-formats-test
52+
with:
53+
comment: "true"
54+
exclude_file: .github/config/exclude.txt
55+
json_schema: ./__tests__/fixtures/schemas/schema_with_custom_ajv_regexp_format.json
56+
ajv_custom_regexp_formats: |
57+
lowercase_char=^[a-z]*$
58+
lowercase_alphanumeric=^[a-z0-9]*$
59+
files: |
60+
__tests__/fixtures/json/custom_ajv_regexp_format/valid.json

0 commit comments

Comments
 (0)