mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-03 03:15:20 +00:00
tests: Add clippy check for integration test building
Ensure that we try and keep the integration tests clippy clean. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
0655f25da4
commit
58009af85d
3
.github/workflows/quality.yaml
vendored
3
.github/workflows/quality.yaml
vendored
@ -43,3 +43,6 @@ jobs:
|
||||
|
||||
- name: Clippy (mshv)
|
||||
run: cargo clippy --all --all-targets --no-default-features --tests --features "mshv" -- -D warnings
|
||||
|
||||
- name: Clippy (integration tests)
|
||||
run: cargo clippy --all --all-targets --tests --features "integration_tests" -- -D warnings
|
||||
|
@ -447,8 +447,8 @@ mod tests {
|
||||
.expect("Expect device mapper nodes to be ready");
|
||||
|
||||
self.osdisk_path = format!("/dev/mapper/{}", windows_snapshot);
|
||||
self.windows_snapshot_cow = windows_snapshot_cow.clone();
|
||||
self.windows_snapshot = windows_snapshot.clone();
|
||||
self.windows_snapshot_cow = windows_snapshot_cow;
|
||||
self.windows_snapshot = windows_snapshot;
|
||||
}
|
||||
|
||||
fn disk(&self, disk_type: DiskType) -> Option<String> {
|
||||
|
Loading…
Reference in New Issue
Block a user