Skip to content

Commit

Permalink
Generated commit to update templated files based on rev 53e83c4 in st…
Browse files Browse the repository at this point in the history
…ackabletech/operator-templating repo. (#827)

Triggered by:
Manual run triggered by: razvan with message [run-tests --skip-tests]
  • Loading branch information
stackable-bot committed Jun 25, 2024
1 parent 2d9146a commit 289bcc2
Showing 1 changed file with 10 additions and 1 deletion.
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

0 comments on commit 289bcc2

Please sign in to comment.