Skip to content

Commit cecf6dc

Browse files
committed
Adding cargo clean at the end of every step apache#14576
1 parent 3f900ac commit cecf6dc

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/extended.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@ jobs:
4848
with:
4949
rust-version: stable
5050
- name: Prepare cargo build
51-
run: cargo check --profile ci --all-targets
51+
run: |
52+
cargo check --profile ci --all-targets
53+
cargo clean
5254
5355
# Run extended tests (with feature 'extended_tests')
5456
linux-test-extended:
@@ -70,6 +72,8 @@ jobs:
7072
run: cargo test --profile ci --exclude datafusion-examples --exclude datafusion-benchmarks --workspace --lib --tests --bins --features avro,json,backtrace,extended_tests
7173
- name: Verify Working Directory Clean
7274
run: git diff --exit-code
75+
- name: Cleanup
76+
run: cargo clean
7377

7478
# Check answers are correct when hash values collide
7579
hash-collisions:
@@ -90,6 +94,7 @@ jobs:
9094
run: |
9195
cd datafusion
9296
cargo test --profile ci --exclude datafusion-examples --exclude datafusion-benchmarks --exclude datafusion-sqllogictest --workspace --lib --tests --features=force_hash_collisions,avro,extended_tests
97+
cargo clean
9398
9499
sqllogictest-sqlite:
95100
name: "Run sqllogictests with the sqlite test suite"
@@ -106,4 +111,8 @@ jobs:
106111
with:
107112
rust-version: stable
108113
- name: Run sqllogictest
109-
run: cargo test --profile release-nonlto --test sqllogictests -- --include-sqlite
114+
run: |
115+
cargo test --profile release-nonlto --test sqllogictests -- --include-sqlite
116+
cargo clean
117+
118+

0 commit comments

Comments
 (0)