about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJakub Beránek <berykubik@gmail.com>2025-04-17 17:38:15 +0200
committerJakub Beránek <berykubik@gmail.com>2025-04-17 17:38:15 +0200
commitcecf16785f193c247c47e42524322aeccc96c8a4 (patch)
tree567a248b7516bfa107002d026a6fcfe497f6ba84
parent08cb187d263ec91e8e6d35b4b235eee4ecad3357 (diff)
downloadrust-cecf16785f193c247c47e42524322aeccc96c8a4.tar.gz
rust-cecf16785f193c247c47e42524322aeccc96c8a4.zip
Add a note about the test dashboard to the post-merge report
-rw-r--r--src/ci/citool/src/main.rs16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/ci/citool/src/main.rs b/src/ci/citool/src/main.rs
index a7a289fc3d4..f4e671b609f 100644
--- a/src/ci/citool/src/main.rs
+++ b/src/ci/citool/src/main.rs
@@ -24,7 +24,7 @@ use crate::github::JobInfoResolver;
 use crate::jobs::RunType;
 use crate::metrics::{JobMetrics, download_auto_job_metrics, download_job_metrics, load_metrics};
 use crate::test_dashboard::generate_test_dashboard;
-use crate::utils::load_env_var;
+use crate::utils::{load_env_var, output_details};
 
 const CI_DIRECTORY: &str = concat!(env!("CARGO_MANIFEST_DIR"), "/..");
 const DOCKER_DIRECTORY: &str = concat!(env!("CARGO_MANIFEST_DIR"), "/../docker");
@@ -188,6 +188,20 @@ fn post_merge_report(db: JobDatabase, current: String, parent: String) -> anyhow
 
     let mut job_info_resolver = JobInfoResolver::new();
     output_test_diffs(&metrics, &mut job_info_resolver);
+
+    output_details("Test dashboard", || {
+        println!(
+            r#"\nRun
+
+```bash
+cargo run --manifest-path src/ci/citool/Cargo.toml -- \
+    test-dashboard {current} --output-dir test-dashboard
+```
+And then open `test-dashboard/index.html` in your browser to see an overview of all executed tests.
+"#
+        );
+    });
+
     output_largest_duration_changes(&metrics, &mut job_info_resolver);
 
     Ok(())