From 786fd515fd201ff199221077a0ed23f4179e3b74 Mon Sep 17 00:00:00 2001 From: Vincent Thiberville Date: Tue, 2 Jul 2024 01:07:52 +0200 Subject: [PATCH] ci: speed up fast tests --- .github/workflows/ci.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2157cff..fa34862 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,9 @@ jobs: - uses: dtolnay/rust-toolchain@stable - run: cargo test - run: cargo test --features diff - - run: cargo test --features fast + # Use release mode, otherwise the const table + # used with the fast feature leads to very slow tests. + - run: cargo test --release --features fast clippy: name: Clippy @@ -56,4 +58,6 @@ jobs: target: s390x-unknown-linux-gnu - run: cargo test - run: cargo test --features diff - - run: cargo test --features fast + # Use release mode, otherwise the const table + # used with the fast feature leads to very slow tests. + - run: cargo test --release --features fast