diff --git a/.github/workflows/quality.yaml b/.github/workflows/quality.yaml index 5d74d1992..133f51700 100644 --- a/.github/workflows/quality.yaml +++ b/.github/workflows/quality.yaml @@ -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 diff --git a/tests/integration.rs b/tests/integration.rs index 512b77da5..d401d9b44 100644 --- a/tests/integration.rs +++ b/tests/integration.rs @@ -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 {