Skip to content

Commit

Permalink
ci: try fix ci hang
Browse files Browse the repository at this point in the history
  • Loading branch information
Chronostasys committed May 17, 2024
1 parent feb2806 commit 56a6e55
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: llvm-cov
args: nextest --workspace --all-features --lcov --output-path lcov.info --profile ci -vv --no-capture
args: nextest --workspace --all-features --lcov --output-path lcov.info --profile ci -vv

- name: Upload coverage to Codecov
uses: codecov/[email protected]
Expand Down
3 changes: 3 additions & 0 deletions src/ast/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
use std::{
fs::remove_file,
path::PathBuf,
process::Stdio,
sync::{Arc, Mutex},
};

Expand Down Expand Up @@ -506,6 +507,8 @@ fn test_compile() {
.unwrap_or_else(|_| panic!("static compiled file not found {:?}", exe));
eprintln!("exec: {:?}", exe);
let o = Command::new(exe.to_str().unwrap())
.stdout(Stdio::null())
.stderr(Stdio::null())
.output()
.expect("failed to execute compiled program");
assert!(
Expand Down

0 comments on commit 56a6e55

Please sign in to comment.