We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d9146a commit 289bcc2Copy full SHA for 289bcc2
scripts/run-tests
@@ -72,6 +72,12 @@ def parse_args(argv: list[str]) -> argparse.Namespace:
72
action="store_true",
73
)
74
75
+ parser.add_argument(
76
+ "--skip-tests",
77
+ help="Do not actually run the tests.",
78
+ action="store_true",
79
+ )
80
+
81
parser.add_argument(
82
"--skip-release",
83
help="Do not install operators.",
@@ -349,7 +355,10 @@ def main(argv) -> int:
349
355
gen_tests(opts.test_suite)
350
356
with release_file(opts.operator) as f:
351
357
maybe_install_release(opts.skip_release, f)
352
- run_tests(opts.test, opts.parallel, opts.namespace, opts.skip_delete)
358
+ if opts.skip_tests:
359
+ logging.info("Skip running tests.")
360
+ else:
361
+ run_tests(opts.test, opts.parallel, opts.namespace, opts.skip_delete)
353
362
except TestRunnerException:
354
363
ret = 1
364
return ret
0 commit comments