diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index d11f5bbab1..a53d4ef59e 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -51,7 +51,9 @@ jobs: - name: Build run: cargo build --verbose --all-targets --features "full-serialization" - name: Run tests - run: SCYLLA_URI=172.42.0.2:9042 SCYLLA_URI2=172.42.0.3:9042 SCYLLA_URI3=172.42.0.4:9042 cargo test --verbose --features "full-serialization" + run: | + cargo clean + SCYLLA_URI=172.42.0.2:9042 SCYLLA_URI2=172.42.0.3:9042 SCYLLA_URI3=172.42.0.4:9042 cargo test --verbose --features "full-serialization" - name: Stop the cluster if: ${{ always() }} run: docker compose -f test/cluster/docker-compose.yml stop