diff --git a/pyproject.toml b/pyproject.toml index be10bcbe..604b786d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -108,7 +108,7 @@ dev = [ "pgtest<2.0.0,>=1.3.2", "pytest<9.0,>=8.0", "pytest-cov<5.0.0,>=4.1.0", - "tox-uv<2.0,>=1.16.1", + "tox-uv<2.0,>=1.25.0", "wheel<1.0,>=0.42", ] diff --git a/tox.ini b/tox.ini index 925e8f5e..2e0bdf52 100644 --- a/tox.ini +++ b/tox.ini @@ -1,16 +1,32 @@ [tox] -envlist = py311 +envlist = py312 [testenv] usedevelop=True -uv_sync_flags=--python={env_python} [testenv:py{310,311,312}] runner = uv-venv-lock-runner extras = all with_dev = True description = Run the test suite against Python versions -commands = pytest {posargs} --run-extra-mlips --cov janus_core --import-mode importlib +commands = pytest {posargs} --cov janus_core --import-mode importlib + +[testenv:e3nn] +runner = uv-venv-lock-runner +extras = mattersim +with_dev = True +description = Run the test suite against Python versions +commands = pytest tests/test_mlip_calculators.py tests/test_single_point.py {posargs} --cov janus_core --import-mode importlib + +[testenv:matgl] +runner = uv-venv-lock-runner +extras = + alignn + mace + m3gnet +with_dev = True +description = Run the test suite against Python versions +commands = pytest tests/test_mlip_calculators.py tests/test_single_point.py tests/test_eos.py {posargs} --cov janus_core --import-mode importlib [testenv:pre-commit] runner = uv-venv-lock-runner @@ -21,6 +37,7 @@ commands = pre-commit run {posargs} --all-files [testenv:docs] runner = uv-venv-lock-runner +extras = all with_dev = True description = Build the documentation commands = sphinx-build -nW --keep-going -b html {posargs} docs/source docs/build/html