From 1f4524f0b22fca6b2f2a501c2edc031c35e50339 Mon Sep 17 00:00:00 2001 From: Branislav Kontur Date: Thu, 28 Sep 2023 10:22:53 +0200 Subject: [PATCH] [ci/cd] Split Test pipeline according to `runtime-benchmarks` feature --- .github/workflows/test.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 413b2288aa..3412442963 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -40,7 +40,12 @@ jobs: - name: Fetch cache uses: Swatinem/rust-cache@6fd3edff6979b79f87531400ad694fb7f2c84b1f # v2.2.1 + - name: Test + run: cargo test --workspace --release --locked --features=runtime-metrics,try-runtime + env: + RUSTFLAGS: "-C debug-assertions -D warnings" + - name: Test all features run: cargo test --workspace --release --locked --features=runtime-benchmarks,runtime-metrics,try-runtime env: - RUSTFLAGS: "-C debug-assertions -D warnings" + RUSTFLAGS: "-C debug-assertions -D warnings" \ No newline at end of file