From 2a6b408270e3bc78bddf2052e5c55fbc90ac5cb6 Mon Sep 17 00:00:00 2001 From: GrantBirki Date: Thu, 22 Aug 2024 15:39:47 -0700 Subject: [PATCH] accidental deletion of `custom formats` test --- .github/workflows/acceptance-test.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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