diff --git a/crates/testbed/repositories-ci.yaml b/crates/testbed/repositories-ci.yaml index 7540ddb..59a7e34 100644 --- a/crates/testbed/repositories-ci.yaml +++ b/crates/testbed/repositories-ci.yaml @@ -178,6 +178,7 @@ repositories: build_args: ["run", "build"] language: typescript runner: vitest + runner_args: ["run", "vitest", "--", "--no-colors"] setup_commands: - ["npm", ["install"]] holes_file: io-ts-smol.json diff --git a/crates/testbed/repositories.yaml b/crates/testbed/repositories.yaml index 4e633ea..11c5b93 100644 --- a/crates/testbed/repositories.yaml +++ b/crates/testbed/repositories.yaml @@ -178,6 +178,7 @@ repositories: build_args: ["run", "build"] language: typescript runner: vitest + runner_args: ["run", "vitest", "--", "--no-colors"] setup_commands: - ["npm", ["install"]] holes_file: io-ts.json diff --git a/crates/testbed/src/runner.rs b/crates/testbed/src/runner.rs index d876ff9..aabee32 100644 --- a/crates/testbed/src/runner.rs +++ b/crates/testbed/src/runner.rs @@ -3,7 +3,7 @@ use std::{path::Path, process::Stdio}; use anyhow::anyhow; use serde::{Deserialize, Serialize}; use tokio::{io::AsyncReadExt, process::Command}; -use tracing::{debug, info}; +use tracing::debug; use crate::parse_env; @@ -218,7 +218,7 @@ async fn vitest_runner( .args(args) .current_dir(repo_path) .stdout(Stdio::piped()) - // .stderr(Stdio::null()) + .stderr(Stdio::null()) .spawn()?; let mut stdout = String::new(); @@ -228,14 +228,12 @@ async fn vitest_runner( .ok_or(anyhow!("failed to take stdout"))? .read_to_string(&mut stdout) .await?; - info!("stdout: {stdout}"); let lines = stdout.split_terminator('\n'); let mut passed = 0f32; let mut failed = 0f32; for line in lines { if line.contains("Tests") { let words = line.trim().split(' ').collect::>(); - info!("line containing 'Tests': {words:?}"); let mut prev = words[0]; for word in words { if word.contains("passed") {