Skip to content

Commit 440f0b0

Browse files
committed
quiet conda output in CI
1 parent db68fba commit 440f0b0

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

src/bioimageio/core/_resource_tests.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969
from bioimageio.core.io import save_tensor
7070

7171
from ._prediction_pipeline import create_prediction_pipeline
72+
from ._settings import settings
7273
from .axis import AxisId, BatchSize
7374
from .common import MemberId, SupportedWeightsFormat
7475
from .digest_spec import get_test_input_sample, get_test_output_sample
@@ -394,7 +395,15 @@ def _test_in_env(
394395
_ = path.write_bytes(encoded_env)
395396
logger.debug("written conda env to {}", path)
396397
run_command(
397-
[CONDA_CMD, "env", "create", f"--file={path}", f"--name={env_name}"]
398+
[
399+
CONDA_CMD,
400+
"env",
401+
"create",
402+
"--yes",
403+
f"--file={path}",
404+
f"--name={env_name}",
405+
]
406+
+ (["--quiet"] if settings.CI else [])
398407
)
399408
run_command([CONDA_CMD, "activate", env_name])
400409
except Exception as e:

0 commit comments

Comments
 (0)