mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-07 19:59:23 +00:00
Log all output to console when running in CI
Attempts to debug https://github.com/serai-dex/serai/actions/runs/5992819682/job/16252622433, which seems to be a legitimate test failure.
This commit is contained in:
@@ -115,7 +115,11 @@ pub fn coordinator_stack(name: &str) -> (Handles, <Ristretto as Ciphersuite>::F,
|
||||
.with_start_policy(StartPolicy::Strict)
|
||||
.with_container_name(name.clone())
|
||||
.with_log_options(Some(LogOptions {
|
||||
action: LogAction::ForwardToFile { path: logs_path.clone() },
|
||||
action: if std::env::var("GITHUB_CI") == Ok("true".to_string()) {
|
||||
LogAction::Forward
|
||||
} else {
|
||||
LogAction::ForwardToFile { path: logs_path.clone() }
|
||||
},
|
||||
policy: LogPolicy::Always,
|
||||
source: LogSource::Both,
|
||||
})),
|
||||
|
||||
Reference in New Issue
Block a user