Skip to content

Commit 71e3384

Browse files
feat: show codspeed banner in CI when exec_harness is used
1 parent 42bf300 commit 71e3384

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/exec/mod.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ use crate::executor;
55
use crate::prelude::*;
66
use crate::project_config::ProjectConfig;
77
use crate::project_config::merger::ConfigMerger;
8+
use crate::run::show_banner;
89
use crate::run::uploader::UploadResult;
910
use clap::Args;
1011
use std::path::Path;
@@ -96,6 +97,11 @@ pub async fn execute_with_harness(
9697
setup_cache_dir: Option<&Path>,
9798
) -> Result<()> {
9899
let mut execution_context = executor::ExecutionContext::try_from((config, codspeed_config))?;
100+
101+
if execution_context.is_local() {
102+
show_banner();
103+
}
104+
99105
debug!("config: {:#?}", execution_context.config);
100106
let executor = executor::get_executor_from_mode(
101107
&execution_context.config.mode,

0 commit comments

Comments
 (0)