Skip to content

Commit

Permalink
enable execution tests
Browse files Browse the repository at this point in the history
  • Loading branch information
boozook committed Sep 20, 2023
1 parent 72b0af4 commit 67f98b4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,13 @@ jobs:
cargo test -p=cargo-playdate -- --nocapture
rm -rf ./target/tmp
- name: Execution Test
env:
RUSTFLAGS: --cfg exec_tests
run: |
cargo test -p=cargo-playdate run -- --nocapture
rm -rf ./target/tmp
use-tool:
name: Examples
defaults:
Expand Down
2 changes: 1 addition & 1 deletion cargo/tests/run/simple.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ fn run(crate_name: &str, crate_path: &Path, args: impl IntoIterator<Item = impl
println!("cmd: {:?}", cmd);

let start = Instant::now();
let limit = Duration::from_secs(60 * 1);
let limit = Duration::from_secs(40);


while start.elapsed() < limit {
Expand Down

0 comments on commit 67f98b4

Please sign in to comment.