-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(HIS): add HIS checker to ci makefile
Signed-off-by: Afonso Santos <[email protected]>
- Loading branch information
1 parent
ffc5a6e
commit d92a8d4
Showing
2 changed files
with
44 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,24 @@ | ||
#!/bin/python3 | ||
|
||
# wip | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# Copyright (c) Bao Project and Contributors. All rights reserved | ||
|
||
""" | ||
Generating HIS metrics check | ||
""" | ||
|
||
import sys | ||
import argparse | ||
|
||
if __name__ == "__main__": | ||
METRICS_LIST = [] | ||
CHECK_FAIL = 0 | ||
PARSER = argparse.ArgumentParser() | ||
PARSER.add_argument("files", nargs="+", help="The files to process") | ||
ARGS = PARSER.parse_args() | ||
|
||
for metric in METRICS_LIST: | ||
CHECK_FAIL += metric(ARGS) | ||
|
||
if CHECK_FAIL: | ||
sys.exit(-1) |