-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: adds markdown generation to the rules transform entrypoint (#282)
* feat: adds markdown generation to the rules transform entrypoint BREAKING CHANGE: Modifies the existing behavior of the rules transform entrypoint Signed-off-by: Jennifer Power <[email protected]> * fix: adds required flag to rules-transform entrypoint Signed-off-by: Jennifer Power <[email protected]> * feat: adds traceback string to handle exception Logging the traceback string in debug mode helps with development without displaying to users by default. Signed-off-by: Jennifer Power <[email protected]> * test: adds basic testing for rules transformation CLI Signed-off-by: Jennifer Power <[email protected]> * test(rules-transform): adds assertions to check md directory creation Signed-off-by: Jennifer Power <[email protected]> * docs: updates actions docs to reflect workflow changes Signed-off-by: Jennifer Power <[email protected]> --------- Signed-off-by: Jennifer Power <[email protected]>
- Loading branch information
Showing
16 changed files
with
258 additions
and
78 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
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 |
---|---|---|
|
@@ -36,6 +36,7 @@ | |
"success/happy path", | ||
{ | ||
"branch": "test", | ||
"markdown-path": "md_comp", | ||
"rules-view-path": RULES_VIEW_DIR, | ||
"committer-name": "test", | ||
"committer-email": "[email protected]", | ||
|
@@ -46,6 +47,7 @@ | |
{ | ||
"branch": "test", | ||
"rules-view-path": RULES_VIEW_DIR, | ||
"markdown-path": "md_comp", | ||
"committer-name": "test", | ||
"committer-email": "test", | ||
"skip-items": test_comp_name, | ||
|
@@ -82,6 +84,7 @@ def test_rules_transform_e2e( | |
tmp_repo_path, test_comp_name, ComponentDefinition, FileContentType.JSON | ||
) | ||
assert comp_path.exists() | ||
assert tmp_repo_path.joinpath("md_comp").exists() | ||
assert f"input: {test_comp_name}.csv" in response_stdout | ||
branch = command_args["branch"] | ||
assert f"Changes pushed to {branch} successfully." in response_stdout | ||
|
Oops, something went wrong.