mirror of
https://github.com/rust-vmm/rust-vmm-ci.git
synced 2026-08-05 03:08:31 +00:00
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 <lauralg@amazon.com>
This commit is contained in:
committed by
Alexandra Iordache
parent
9dd386c2e6
commit
cd90a637a3
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user