@@ -221,7 +221,10 @@ def test(
221221 timeout : int = typer .Option (1800 , help = "Timeout for tests in seconds" ),
222222 num_cpus : int = typer .Option (1 , help = "Number of CPUs to use" ),
223223 reference : Annotated [
224- bool , typer .Option ("--reference" , help = "Test the reference commit." )
224+ bool , typer .Option ("--reference" , help = "Test the reference commit" )
225+ ] = False ,
226+ coverage : Annotated [
227+ bool , typer .Option ("--coverage" , help = "Whether to get coverage information" )
225228 ] = False ,
226229 rebuild : bool = typer .Option (
227230 False , "--rebuild" , help = "Whether to rebuild an image"
@@ -266,6 +269,7 @@ def test(
266269 repo_or_repo_path ,
267270 branch , # type: ignore
268271 test_ids ,
272+ coverage ,
269273 backend ,
270274 timeout ,
271275 num_cpus ,
@@ -286,6 +290,9 @@ def evaluate(
286290 reference : Annotated [
287291 bool , typer .Option ("--reference" , help = "Evaluate the reference commit." )
288292 ] = False ,
293+ coverage : Annotated [
294+ bool , typer .Option ("--coverage" , help = "Whether to get coverage information" )
295+ ] = False ,
289296 commit0_dot_file_path : str = typer .Option (
290297 ".commit0.yaml" ,
291298 help = "Path to the commit0 dot file, where the setup config is stored" ,
@@ -309,6 +316,7 @@ def evaluate(
309316 commit0_config ["repo_split" ],
310317 commit0_config ["base_dir" ],
311318 branch ,
319+ coverage ,
312320 backend ,
313321 timeout ,
314322 num_cpus ,
0 commit comments