Skip to content

Commit

Permalink
CI: cargo clean before tests
Browse files Browse the repository at this point in the history
As of now, the CI doesn't pass simply because of no space
left on the device to proceed with the compilation of the tests.

In this commit we execute `cargo clean` before compilation and execution
of the tests.
  • Loading branch information
muzarski committed Feb 9, 2024
1 parent 799f9a4 commit 8911623
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8911623

Please sign in to comment.