diff --git a/.github/workflows/deptry.yml b/.github/workflows/deptry.yml index 0607c736..071281df 100644 --- a/.github/workflows/deptry.yml +++ b/.github/workflows/deptry.yml @@ -1,4 +1,4 @@ -name: model +name: dependency-check on: pull_request: @@ -29,4 +29,4 @@ jobs: - name: run deptry run: | - poetry run deptry . --per-rule-ignores "DEP001=pyrenew,DEP003=pytest" + poetry run deptry . --per-rule-ignores "DEP001=pyrenew,DEP001=pytest,DEP003=pytest" diff --git a/.github/workflows/test_model.yml b/.github/workflows/test_model.yml index 1eadf64a..71574da5 100644 --- a/.github/workflows/test_model.yml +++ b/.github/workflows/test_model.yml @@ -24,7 +24,7 @@ jobs: run: pip install poetry - name: install package - run: poetry install --with dev + run: poetry install --with test - name: run tests run: | diff --git a/.github/workflows/test_pipeline.yml b/.github/workflows/test_pipeline.yml index 6feb74e4..fe43486c 100644 --- a/.github/workflows/test_pipeline.yml +++ b/.github/workflows/test_pipeline.yml @@ -22,7 +22,7 @@ jobs: run: pip install poetry - name: install package - run: poetry install --with dev + run: poetry install --with test - name: install pytest-cov run: poetry run pip install pytest-cov diff --git a/.github/workflows/website.yaml b/.github/workflows/website.yaml index 3b5d0b7a..f864d29e 100644 --- a/.github/workflows/website.yaml +++ b/.github/workflows/website.yaml @@ -36,7 +36,7 @@ jobs: run: pip install poetry - name: install package - run: poetry install --with dev + run: poetry install --with docs # This section renders the quarto documents (and the README file) # and moves them to the docs/source/_compiled_qmd directory @@ -92,7 +92,7 @@ jobs: run: pip install poetry - name: Install dependencies with Poetry - run: poetry install --with dev + run: poetry install --with docs # Building - name: Build HTML using Poetry diff --git a/pyproject.toml b/pyproject.toml index 3e0fe1fe..087073d4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,22 +23,31 @@ matplotlib = "^3.8.3" optional = true [tool.poetry.group.dev.dependencies] -pyyaml = "^6.0.0" +nbconvert = "^7.16.4" +ipywidgets = "^8.1.3" +deptry = "^0.17.0" + +[tool.poetry.group.docs] +optional = true + +[tool.poetry.group.docs.dependencies] ipykernel = "^6.29.3" +pyyaml = "^6.0.0" nbclient = "^0.10.0" nbformat = "^5.10.0" -pytest-cov = "^5.0.0" -pytest-mpl = "^0.17.0" numpydoc = "^1.7.0" arviz = "^0.18.0" sphinx = "^7.2.6" sphinxcontrib-mermaid = "^0.9.2" sphinx-autodoc-typehints = "^2.1.0" sphinx-book-theme = "^1.1.2" -pillow = "^10.3.0" -nbconvert = "^7.16.4" -ipywidgets = "^8.1.3" -deptry = "^0.17.0" + +[tool.poetry.group.test] +optional = true + +[tool.poetry.group.test.dependencies] +pytest-cov = "^5.0.0" +pytest-mpl = "^0.17.0" [tool.numpydoc_validation] checks = [