From cecf6dcb171474bb7e46349db9ae6f2d50bb99e7 Mon Sep 17 00:00:00 2001 From: Bruce Ritchie Date: Mon, 10 Feb 2025 21:25:18 +0000 Subject: [PATCH] Adding cargo clean at the end of every step #14576 --- .github/workflows/extended.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/extended.yml b/.github/workflows/extended.yml index 7fa89ea773f8a..e608012ffcf3a 100644 --- a/.github/workflows/extended.yml +++ b/.github/workflows/extended.yml @@ -48,7 +48,9 @@ jobs: with: rust-version: stable - name: Prepare cargo build - run: cargo check --profile ci --all-targets + run: | + cargo check --profile ci --all-targets + cargo clean # Run extended tests (with feature 'extended_tests') linux-test-extended: @@ -70,6 +72,8 @@ jobs: run: cargo test --profile ci --exclude datafusion-examples --exclude datafusion-benchmarks --workspace --lib --tests --bins --features avro,json,backtrace,extended_tests - name: Verify Working Directory Clean run: git diff --exit-code + - name: Cleanup + run: cargo clean # Check answers are correct when hash values collide hash-collisions: @@ -90,6 +94,7 @@ jobs: run: | cd datafusion cargo test --profile ci --exclude datafusion-examples --exclude datafusion-benchmarks --exclude datafusion-sqllogictest --workspace --lib --tests --features=force_hash_collisions,avro,extended_tests + cargo clean sqllogictest-sqlite: name: "Run sqllogictests with the sqlite test suite" @@ -106,4 +111,8 @@ jobs: with: rust-version: stable - name: Run sqllogictest - run: cargo test --profile release-nonlto --test sqllogictests -- --include-sqlite + run: | + cargo test --profile release-nonlto --test sqllogictests -- --include-sqlite + cargo clean + +