diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 202ba16..be99c4f 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -37,8 +37,7 @@ jobs: - name: Install dependencies run: | pip install git+https://github.com/materialsvirtuallab/maml.git - pip install --quiet -r requirements.txt -r requirements-ci.txt - pip install -e '.[models]' + pip install -e '.[models,ci]' - name: pytest run: | pytest --cov=matcalc tests --color=yes diff --git a/pyproject.toml b/pyproject.toml index decb427..4e7fe95 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,6 +41,7 @@ version = "0.0.4" [project.optional-dependencies] models = ["chgnet>=0.3.8", "mace-torch>=0.3.6", "matgl>=1.0.0", "sevenn>=0.9.3", "maml>=2024.6.13", "dgl<=2.1.0", "torch<=2.2.1"] +ci = ["pytest-cov>=4", "pytest-split>=0.8", "pytest>=8", "coverage", "coveralls"] [tool.setuptools.packages.find] where = ["src"] diff --git a/requirements-ci.txt b/requirements-ci.txt deleted file mode 100644 index b35a62d..0000000 --- a/requirements-ci.txt +++ /dev/null @@ -1,10 +0,0 @@ -pytest -pytest-cov -coverage -coveralls -mypy -ruff -black -dgl -matgl -chgnet