mirror of
https://github.com/rust-vmm/vhost-device.git
synced 2025-12-30 17:49:08 +00:00
Let's use custom pipelines to run CI tests in the nested worskpace. We have included all the tests we usually run in the main workspace (rust-vmm-ci/.buildkite/test_description.json), except for "commit-format" which also covers commits for staging crates. Let's add a `staging\coverage_config_x86_64.json` for testing coverage of crates in staging. All staging tests have `soft_fail = true` to prevent failures in staging from affecting the CI of the main workspace. Closes #478 Signed-off-by: Stefano Garzarella <sgarzare@redhat.com> |
||
|---|---|---|
| .. | ||
| vhost-device-sound | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| coverage_config_x86_64.json | ||
| README.md | ||
vhost-device staging workspace
This directory includes a separate Cargo workspace to include working vhost-user backend implementations that concern devices that have partial functionality and devices (and/or functionality) not yet ratified in the VIRTIO specification. For more details about vhost-device you can refer to the repository README.
To add a new member crate:
- Place it under this directory,
./staging. - Append its name in the
workspace.membersarray field of the workspace manifest file. - Update the crate list in the repository README.
Testing and Continuous Integration
ℹ️ Notice ℹ️ : The CI runs on the root workspace only.
This means that staging crates can have failing tests and bring down code coverage without automatic checks.
Tests can still be run locally as part of the development process.
To add a crate to the CI, add it to the root Cargo.toml workspace.members array as well as the staging manifest.