Skip to content

Commit

Permalink
Add build command to exec_tests
Browse files Browse the repository at this point in the history
  • Loading branch information
maximecb committed Sep 30, 2023
1 parent 548f4e7 commit 4fbd7fe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,4 @@ jobs:
run: |
pwd
ls -al
ls -al target
RUST_BACKTRACE=1 cargo test
7 changes: 7 additions & 0 deletions ncc/src/exec_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@ fn exec_tests()
command.arg("--profile");
command.arg("dev");

// Make sure that ncc is built in dev/debug mode
let mut command = Command::new("cargo");
command.current_dir(".");
command.arg("build");
command.arg("--profile");
command.arg("dev");

// Some examples involve creating a UI window
// We parse/validate those without executing them
let mut run_examples = HashSet::new();
Expand Down

0 comments on commit 4fbd7fe

Please sign in to comment.