File tree 3 files changed +35
-0
lines changed
3 files changed +35
-0
lines changed Original file line number Diff line number Diff line change 66
66
yaml_schema : ./__tests__/fixtures/schemas/flat.yaml
67
67
files : |
68
68
__tests__/acceptance/flat_yaml/flat.yaml
69
+
70
+ - name : acceptance test - regex yaml
71
+ uses : ./
72
+ id : json-yaml-validate-regex-yaml-test
73
+ with :
74
+ comment : " true"
75
+ yaml_schema : ./__tests__/fixtures/schemas/regex.yaml
76
+ files : |
77
+ __tests__/acceptance/flat_yaml/regex.yaml
Original file line number Diff line number Diff line change
1
+ name : my-awesome-app
2
+ id : 21F640FA-CFBC-4848-9E60-813154A6F241
3
+ tags :
4
+ environment : production
5
+ owner : engineering
Original file line number Diff line number Diff line change
1
+ type : object
2
+ properties :
3
+ name :
4
+ type : string
5
+ id :
6
+ type : string
7
+ pattern : " ^[0-9a-fA-F-]{36}$"
8
+ tags :
9
+ type : object
10
+ properties :
11
+ environment :
12
+ type : string
13
+ required :
14
+ - environment
15
+ owner :
16
+ type : string
17
+ required :
18
+ - name
19
+ - id
20
+ - tags
21
+ - owner
You can’t perform that action at this time.
0 commit comments