feat: add support for yaml files
Some checks failed
/ linting (push) Failing after 47s
/ tests (push) Successful in 53s

This commit is contained in:
Bruno Carlin 2025-01-15 15:06:02 +01:00
parent 81dfdacb33
commit 9eccdccc5c
Signed by: bcarlin
GPG key ID: 8E254EA0FFEB9B6D
11 changed files with 51 additions and 2 deletions

3
test_data/full.yaml Normal file
View file

@ -0,0 +1,3 @@
string: default string
invariant: should not change
int: 1

1
test_data/invalid.yaml Normal file
View file

@ -0,0 +1 @@
String = not yaml

1
test_data/part1.yaml Normal file
View file

@ -0,0 +1 @@
string: foo

1
test_data/part2.yaml Normal file
View file

@ -0,0 +1 @@
int: 42

1
test_data/same1.yaml Normal file
View file

@ -0,0 +1 @@
string: foo

1
test_data/same2.yaml Normal file
View file

@ -0,0 +1 @@
string: bar

3
test_data/unknown.yaml Normal file
View file

@ -0,0 +1,3 @@
String: config string
Int: 42
Unknown: "foo"

2
test_data/valid.yaml Normal file
View file

@ -0,0 +1,2 @@
string: config string
int: 42