mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-25 11:12:48 +03:00
debug windows ci this time
This commit is contained in:
parent
d0d1203381
commit
e69e81110e
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -98,9 +98,7 @@ jobs:
|
||||
cargo install cargo-all-features
|
||||
|
||||
- name: Test
|
||||
run: |
|
||||
cd package
|
||||
cargo test-all-features --all
|
||||
run: cargo test-all-features --all
|
||||
|
||||
- name: Print sccache stats
|
||||
run: sccache --show-stats
|
||||
@ -170,7 +168,7 @@ jobs:
|
||||
run: |
|
||||
SDKROOT=$(xcrun -sdk macosx11.1 --show-sdk-path) \
|
||||
MACOSX_DEPLOYMENT_TARGET=$(xcrun -sdk macosx11.1 --show-sdk-platform-version) \
|
||||
cd package && cargo test-all-features --all
|
||||
cargo test-all-features --all
|
||||
|
||||
- name: Print sccache stats
|
||||
run: sccache --show-stats
|
||||
|
@ -226,6 +226,16 @@ impl Namespace for CompileNamespace {
|
||||
.unwrap_or_else(|_| "Error converting ast to string.".to_string()),
|
||||
);
|
||||
|
||||
if test.name == "string_transformation" {
|
||||
println!(
|
||||
"{}",
|
||||
Ast::from_json_file("/tmp/output/initial_ast.json".into())
|
||||
.unwrap_or_else(|_| Ast::new(Program::new("Error reading initial theorem.".to_string())))
|
||||
.to_json_string()
|
||||
.unwrap_or_else(|_| "Error converting ast to string.".to_string()),
|
||||
);
|
||||
}
|
||||
|
||||
if std::fs::read_dir("/tmp/output").is_ok() {
|
||||
std::fs::remove_dir_all(std::path::Path::new("/tmp/output")).expect("Error failed to clean up output dir.");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user