Use profiling profile for cargo test(linux, release) (#21429)

This commit is contained in:
Micha Reiser 2025-11-13 16:27:36 +01:00 committed by GitHub
parent 67e54fffe1
commit 99694b6e4a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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: