diff --git a/src/main.rs b/src/main.rs index bab0052..85bb153 100644 --- a/src/main.rs +++ b/src/main.rs @@ -149,7 +149,10 @@ fn run( log.write(format!("CI run spec: {:#?}\n", runspec))?; debug!("running CI in cloned repository"); - let snippet = format!("set -xeuo pipefail\n{}", &runspec.shell); + let snippet = format!( + "set -xeuo pipefail\nsource $HOME/.bashrc\n\n{}", + &runspec.shell + ); runcmd(&mut run_log, &["bash", "-c", &snippet], src)?; write_response(&Response::finished(RunResult::Success))?;