Skip to content

Commit

Permalink
print installed packagees before running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mcflugen committed Mar 4, 2024
1 parent d508a0e commit a922988
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ def test(session: nox.Session) -> None:

if "CI" in os.environ:
args.append(f"--cov-report=xml:{ROOT.absolute()!s}/coverage.xml")

session.run("pip", "list")
session.run("pytest", *args)

if "CI" not in os.environ:
Expand All @@ -32,6 +34,7 @@ def test_cli(session: nox.Session) -> None:
session.install("-r", "requirements/required.txt", ".[units,testing]")
session.conda_install("pymt_topography", channel=["nodefaults", "conda-forge"])

session.run("pip", "list")
session.run("bmi-test", "pymt_topography:Topography")


Expand Down

0 comments on commit a922988

Please sign in to comment.