diff --git a/noxfile.py b/noxfile.py index 5ab32f463f..232397deb5 100644 --- a/noxfile.py +++ b/noxfile.py @@ -252,9 +252,11 @@ def run_tests(session): set_environment_variables(PYBAMM_ENV, session=session) session.install("setuptools", silent=False) session.install("-e", ".[all,dev,jax]", silent=False) - specific_test_files = session.posargs if session.posargs else [] session.run( - "python", "-m", "pytest", *specific_test_files, "-m", "unit or integration" + "python", + "-m", + "pytest", + *(session.posargs if session.posargs else ["-m", "unit or integration"]), ) diff --git a/pyproject.toml b/pyproject.toml index 1002b86cc0..b54bdcc1e0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,6 +45,8 @@ dependencies = [ "pandas>=1.5.0", "pooch>=1.8.1", "posthog", + "pyyaml", + "platformdirs", ] [project.urls]