From cd90a637a37b05f69c9d909eb78408c781a89d3c Mon Sep 17 00:00:00 2001 From: Laura Loghin Date: Wed, 7 Oct 2020 13:42:33 +0300 Subject: [PATCH] Add support for workspace tests Added `--workspace` flag to `cargo test` commands because it is needed for workspace crates (an example would be the vmm-reference). The coverage test is already run on all tests for workspaces too. Fixes: #38. Signed-off-by: Laura Loghin --- .buildkite/pipeline.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index 25c15ee..3f3df57 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -67,7 +67,7 @@ steps: - label: "unittests-gnu-x86" commands: - - cargo test --all-features + - cargo test --all-features --workspace retry: automatic: false agents: @@ -81,7 +81,7 @@ steps: - label: "unittests-gnu-arm" commands: - - cargo test --all-features + - cargo test --all-features --workspace retry: automatic: false agents: @@ -95,7 +95,7 @@ steps: - label: "unittests-musl-x86" command: - - cargo test --all-features --target x86_64-unknown-linux-musl + - cargo test --all-features --workspace --target x86_64-unknown-linux-musl retry: automatic: false agents: @@ -109,7 +109,7 @@ steps: - label: "unittests-musl-arm" command: - - cargo test --all-features --target aarch64-unknown-linux-musl + - cargo test --all-features --workspace --target aarch64-unknown-linux-musl retry: automatic: false agents: