Skip to content
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

Update templated files to rev 53e83c4 #591

Merged
merged 1 commit into from
Jun 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion scripts/run-tests
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,12 @@ def parse_args(argv: list[str]) -> argparse.Namespace:
action="store_true",
)

parser.add_argument(
"--skip-tests",
help="Do not actually run the tests.",
action="store_true",
)

parser.add_argument(
"--skip-release",
help="Do not install operators.",
Expand Down Expand Up @@ -349,7 +355,10 @@ def main(argv) -> int:
gen_tests(opts.test_suite)
with release_file(opts.operator) as f:
maybe_install_release(opts.skip_release, f)
run_tests(opts.test, opts.parallel, opts.namespace, opts.skip_delete)
if opts.skip_tests:
logging.info("Skip running tests.")
else:
run_tests(opts.test, opts.parallel, opts.namespace, opts.skip_delete)
except TestRunnerException:
ret = 1
return ret
Expand Down
Loading