From 8ea8e13f1a6b2a2942b78127e23d6783c5188ca5 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Tue, 18 Aug 2026 10:13:39 +0800 Subject: refactor(ci-new): generalize report entries from packages to items MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Rename package-based terminology and structures to item-based, allowing arbitrary items with associated locations instead of only crate packages. Locations are now carried through report files and included in generated reports, with the fallback to `—` removed. --- mingling_ci/src/task/cmd_test.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mingling_ci/src/task/cmd_test.rs') diff --git a/mingling_ci/src/task/cmd_test.rs b/mingling_ci/src/task/cmd_test.rs index 3ed193c..5b9f55a 100644 --- a/mingling_ci/src/task/cmd_test.rs +++ b/mingling_ci/src/task/cmd_test.rs @@ -9,7 +9,7 @@ use mingling::{ use crate::Next; use crate::res::{Manifests, ResCrateConfig}; -use crate::task::run::run_parallel_checks; +use crate::task::run::{location, run_parallel_checks}; #[command(node = "test-all")] pub async fn test_all(manifests: &Manifests, config: &ResCrateConfig) -> Next { @@ -21,7 +21,7 @@ pub async fn test_all(manifests: &Manifests, config: &ResCrateConfig) -> Next { || test_args(path), |cmd| cmd.iter().map(|s| OsString::from(s.as_str())).collect(), ); - (name.clone(), args) + (name.clone(), location(path), args) }) .collect(); let fail_count = run_parallel_checks("Test-All", "Testing", tasks).await; -- cgit