mirror of https://github.com/astral-sh/ruff
Use `profiling` profile for `cargo test(linux, release)` (#21429)
This commit is contained in:
parent
67e54fffe1
commit
99694b6e4a
|
|
@ -322,16 +322,14 @@ jobs:
|
||||||
uses: taiki-e/install-action@44c6d64aa62cd779e873306675c7a58e86d6d532 # v2.62.49
|
uses: taiki-e/install-action@44c6d64aa62cd779e873306675c7a58e86d6d532 # v2.62.49
|
||||||
with:
|
with:
|
||||||
tool: cargo-nextest
|
tool: cargo-nextest
|
||||||
- name: "Install cargo insta"
|
|
||||||
uses: taiki-e/install-action@44c6d64aa62cd779e873306675c7a58e86d6d532 # v2.62.49
|
|
||||||
with:
|
|
||||||
tool: cargo-insta
|
|
||||||
- name: "Install uv"
|
- name: "Install uv"
|
||||||
uses: astral-sh/setup-uv@85856786d1ce8acfbcc2f13a5f3fbd6b938f9f41 # v7.1.2
|
uses: astral-sh/setup-uv@85856786d1ce8acfbcc2f13a5f3fbd6b938f9f41 # v7.1.2
|
||||||
with:
|
with:
|
||||||
enable-cache: "true"
|
enable-cache: "true"
|
||||||
- name: "Run tests"
|
- 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:
|
cargo-test-other:
|
||||||
strategy:
|
strategy:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue