Skip to content

Commit

Permalink
install gimli.units from conda-forge for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mcflugen committed Jan 31, 2024
1 parent d171422 commit d73eaa6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@

PROJECT = "bmi-tester"
ROOT = pathlib.Path(__file__).parent
PYTHON_VERSION = "3.11"


@nox.session
@nox.session(python=PYTHON_VERSION, venv_backend="conda")
def test(session: nox.Session) -> None:
"""Run the tests."""
session.install(".[testing]")
session.conda_install("gimli.units", channel=["nodefaults", "conda-forge"])

args = ["--cov", PROJECT, "-vvv"] + session.posargs

Expand Down

0 comments on commit d73eaa6

Please sign in to comment.