@@ -12,7 +12,7 @@ use tempfile::tempdir;
1212#[ test]
1313fn test_cli_app_e2e ( ) -> Result < ( ) > {
1414 let temp_dir = tempdir ( ) ?;
15- run_cmd ( "cargo" , & [ "install" , "--path" , "." , "--force" ] ) ?;
15+ run_cmd ( "cargo" , & [ "install" , "--path" , "." , "--force" , "--locked" ] ) ?;
1616 let exe_path = "tests/programs/fibonacci/target/openvm/release/openvm-cli-example-test.vmexe" ;
1717 let temp_pk = temp_dir. path ( ) . join ( "app.pk" ) ;
1818 let temp_vk = temp_dir. path ( ) . join ( "app.vk" ) ;
@@ -87,7 +87,7 @@ fn test_cli_app_e2e() -> Result<()> {
8787
8888#[ test]
8989fn test_cli_app_e2e_simplified ( ) -> Result < ( ) > {
90- run_cmd ( "cargo" , & [ "install" , "--path" , "." , "--force" ] ) ?;
90+ run_cmd ( "cargo" , & [ "install" , "--path" , "." , "--force" , "--locked" ] ) ?;
9191 run_cmd (
9292 "cargo" ,
9393 & [
@@ -128,7 +128,7 @@ fn test_cli_init_build() -> Result<()> {
128128 let temp_path = temp_dir. path ( ) ;
129129 let config_path = temp_path. join ( "openvm.toml" ) ;
130130 let manifest_path = temp_path. join ( "Cargo.toml" ) ;
131- run_cmd ( "cargo" , & [ "install" , "--path" , "." , "--force" ] ) ?;
131+ run_cmd ( "cargo" , & [ "install" , "--path" , "." , "--force" , "--locked" ] ) ?;
132132
133133 // Cargo will not respect patches if run within a workspace
134134 run_cmd (
0 commit comments