debug ci differences

This commit is contained in:
gluaxspeed 2021-07-23 00:13:35 -07:00
parent 68fd0433b6
commit 4b4247427b
3 changed files with 9 additions and 2 deletions

View File

@ -53,7 +53,7 @@ jobs:
- run:
name: Build and run tests
no_output_timeout: 30m
command: cargo test --all
command: cargo test --all -- --nocapture
- persist_to_workspace:
root: ~/
paths: project/

View File

@ -116,7 +116,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: test
args: --all --features ci_skip
args: --all --features ci_skip -- --nocapture
env:
CARGO_INCREMENTAL: "0"

View File

@ -211,6 +211,13 @@ impl Namespace for CompileNamespace {
output,
});
}
if test.name.contains("reverse") {
println!(
"debug print initial ast {:?}",
Ast::from_json_file("/tmp/output/initial_ast.json".into())
.unwrap_or_else(|_| Ast::new(Program::new("Error reading initial theorem.".to_string())))
);
}
let initial_ast: String = hash(
Ast::from_json_file("/tmp/output/initial_ast.json".into())