File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,12 @@ def parse_args(argv: list[str]) -> argparse.Namespace:
7272 action = "store_true" ,
7373 )
7474
75+ parser .add_argument (
76+ "--skip-tests" ,
77+ help = "Do not actually run the tests." ,
78+ action = "store_true" ,
79+ )
80+
7581 parser .add_argument (
7682 "--skip-release" ,
7783 help = "Do not install operators." ,
@@ -349,7 +355,10 @@ def main(argv) -> int:
349355 gen_tests (opts .test_suite )
350356 with release_file (opts .operator ) as f :
351357 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 )
353362 except TestRunnerException :
354363 ret = 1
355364 return ret
You can’t perform that action at this time.
0 commit comments