From 93fcb2c18b6492b5b67c0e0c9f6e923bb3ace795 Mon Sep 17 00:00:00 2001 From: Theo Butler Date: Fri, 10 Nov 2023 11:38:10 -0500 Subject: [PATCH] chore: reduce CI bloat --- .github/workflows/ci.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6ca216f1..4656031d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,6 +28,8 @@ jobs: with: toolchain: stable components: rustfmt, clippy + profile: minimal + override: true - name: Cache Cargo build files uses: Leafwing-Studios/cargo-cache@v1 @@ -46,7 +48,8 @@ jobs: - run: cargo clippy -- -D warnings - name: Unit tests - run: cargo test --lib -- --nocapture + run: cargo test --lib - name: Integration tests - run: cargo test --test '*' + # the cargo clean is to avoid running out of disk space, hopefully unnecessary in the future + run: cargo clean && cargo test --test '*'