Skip to content

Commit

Permalink
xtask: test target dir after clean
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriele-0201 committed Mar 1, 2024
1 parent 2c2837a commit 16147cf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ jobs:
run: |
cargo clean -p ikura-node --release
cargo clean -p ikura-shim --release
cargo metadata --format-version 1 | jq -r '.target_directory'
cargo clean -p sov-demo-rollup --release --manifest-path demo/sovereign/Cargo.toml
cargo metadata --manifest-path demo/sovereign/Cargo.toml --format-version 1 | jq -r '.target_directory'
- name: cargo xtask test
run: cargo xtask test
- name: print logs
Expand Down
7 changes: 6 additions & 1 deletion xtask/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,14 @@ fn init_env(project_path: &PathBuf, no_infer_bin_path: bool) -> anyhow::Result<(

std::env::set_var(
"PATH",
format!("{chain_target_path}/release/:{sovereign_target_path}/release/:{path}"),
dbg!(format!(
"{chain_target_path}/release/:{sovereign_target_path}/release/:{path}"
)),
);

xshell::cmd!(sh, "ls {chain_target_path}/release/").run()?;
xshell::cmd!(sh, "ls {sovereign_target_path}/release/").run()?;

Ok(())
}

Expand Down

0 comments on commit 16147cf

Please sign in to comment.