Skip to content

Commit

Permalink
Release patches
Browse files Browse the repository at this point in the history
  • Loading branch information
kratman committed Nov 22, 2024
1 parent eefa374 commit f5f7c5d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 4 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]),
)


Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ dependencies = [
"pandas>=1.5.0",
"pooch>=1.8.1",
"posthog",
"pyyaml",
"platformdirs",
]

[project.urls]
Expand Down

0 comments on commit f5f7c5d

Please sign in to comment.