From 99694b6e4a149ebfc256314afc4fa922d42e7dc8 Mon Sep 17 00:00:00 2001 From: Micha Reiser Date: Thu, 13 Nov 2025 16:27:36 +0100 Subject: [PATCH] Use `profiling` profile for `cargo test(linux, release)` (#21429) --- .github/workflows/ci.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 81996d5432..75615441dd 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -322,16 +322,14 @@ jobs: uses: taiki-e/install-action@44c6d64aa62cd779e873306675c7a58e86d6d532 # v2.62.49 with: tool: cargo-nextest - - name: "Install cargo insta" - uses: taiki-e/install-action@44c6d64aa62cd779e873306675c7a58e86d6d532 # v2.62.49 - with: - tool: cargo-insta - name: "Install uv" uses: astral-sh/setup-uv@85856786d1ce8acfbcc2f13a5f3fbd6b938f9f41 # v7.1.2 with: enable-cache: "true" - name: "Run tests" - run: cargo insta test --release --all-features --unreferenced reject --test-runner nextest + run: cargo nextest run --cargo-profile profiling --all-features + - name: "Run doctests" + run: cargo test --doc --profile profiling --all-features cargo-test-other: strategy: