-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add yml validation schema generation and schema checker (#67)
* Add yml validation schema generation to rules2yml and schema checker in osi_rules * Add documentation section * Add yamale to requirements * Add unit test * Change int() to num() in schemas to allow float values * Fix not to stop validation on the first schema validation that is found. * Add test output to ci pipeline to check fail * Install osivalidator before executing rules2yml * Fix considering proto.in * Fi proto.* in test --------- Signed-off-by: ClemensLinnhoff <[email protected]>
- Loading branch information
1 parent
a1a9c8b
commit 03af25e
Showing
6 changed files
with
221 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
tqdm>=4.66.1 | ||
yamale>=5.0.0 | ||
tabulate>=0.9.0 | ||
ruamel.yaml>=0.18.5 | ||
defusedxml>=0.7.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters