-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: add a log in config checker #2696
Conversation
@@ -161,6 +161,7 @@ def validate_generation_config(generation_config_path: str) -> None: | |||
generation_config_path = "generation_config.yaml" | |||
try: | |||
from_yaml(os.path.abspath(generation_config_path)) | |||
print(f"{generation_config_path} is validated without error.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
print(f"{generation_config_path} is validated without error.") | |
print(f"{generation_config_path} is validated without any errors.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
Quality Gate passed for 'gapic-generator-java-root'Issues Measures |
Quality Gate passed for 'java_showcase_integration_tests'Issues Measures |
In this PR: - Add a log when the config validation succeeds. Context: I tested the checker in [here](https://github.com/googleapis/google-cloud-java/actions/runs/8884272073/job/24392990025?pr=10761). It will be good if the checker emit a log when the check passed.
In this PR:
Context: I tested the checker in here. It will be good if the checker emit a log when the check passed.