@@ -12,7 +12,7 @@ use tempfile::tempdir;
12
12
#[ test]
13
13
fn test_cli_app_e2e ( ) -> Result < ( ) > {
14
14
let temp_dir = tempdir ( ) ?;
15
- run_cmd ( "cargo" , & [ "install" , "--path" , "." , "--force" ] ) ?;
15
+ run_cmd ( "cargo" , & [ "install" , "--path" , "." , "--force" , "--locked" ] ) ?;
16
16
let exe_path = "tests/programs/fibonacci/target/openvm/release/openvm-cli-example-test.vmexe" ;
17
17
let temp_pk = temp_dir. path ( ) . join ( "app.pk" ) ;
18
18
let temp_vk = temp_dir. path ( ) . join ( "app.vk" ) ;
@@ -87,7 +87,7 @@ fn test_cli_app_e2e() -> Result<()> {
87
87
88
88
#[ test]
89
89
fn test_cli_app_e2e_simplified ( ) -> Result < ( ) > {
90
- run_cmd ( "cargo" , & [ "install" , "--path" , "." , "--force" ] ) ?;
90
+ run_cmd ( "cargo" , & [ "install" , "--path" , "." , "--force" , "--locked" ] ) ?;
91
91
run_cmd (
92
92
"cargo" ,
93
93
& [
@@ -128,7 +128,7 @@ fn test_cli_init_build() -> Result<()> {
128
128
let temp_path = temp_dir. path ( ) ;
129
129
let config_path = temp_path. join ( "openvm.toml" ) ;
130
130
let manifest_path = temp_path. join ( "Cargo.toml" ) ;
131
- run_cmd ( "cargo" , & [ "install" , "--path" , "." , "--force" ] ) ?;
131
+ run_cmd ( "cargo" , & [ "install" , "--path" , "." , "--force" , "--locked" ] ) ?;
132
132
133
133
// Cargo will not respect patches if run within a workspace
134
134
run_cmd (
0 commit comments