Skip to content

Commit

Permalink
ci(nox): Quiet conda output
Browse files Browse the repository at this point in the history
  • Loading branch information
teald committed Feb 4, 2025
1 parent beae019 commit 7177493
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ def install_test_dependencies(
session.install("-r", str(req_file_path))

else:
session.conda_install("--file", str(req_file_path))
session.conda_install("--quiet", "--file", str(req_file_path))


def apply_macos_config(session: nox.Session) -> None:
Expand Down Expand Up @@ -650,14 +650,15 @@ def integration_test_build(session: nox.Session) -> None:

# Install the DRAGONS package, and ds9 for completeness.
session.conda_install(
"--quiet",
"dragons==3.2",
"ds9",
channel=SessionVariables.dragons_conda_channels,
)

# Need to downgrade numpy because of DRAGONS issue 464
# https://github.com/GeminiDRSoftware/DRAGONS/issues/464
session.conda_install("numpy=1.26")
session.conda_install("--quiet", "numpy=1.26")
session.install("astrodata")

# Positional arguments after -- are passed to pytest.
Expand Down Expand Up @@ -1029,6 +1030,7 @@ def dragons_calibration(
) -> None:
"""Run the calibration tests."""
session.conda_install(
"--quiet",
"dragons==3.2",
channel=SessionVariables.dragons_conda_channels,
)
Expand Down

0 comments on commit 7177493

Please sign in to comment.