From f16764c934d89592ad84ee1b470f1d98cbab202b Mon Sep 17 00:00:00 2001 From: Donghee Na Date: Sun, 3 Nov 2024 21:25:54 +0900 Subject: [PATCH] Update sections --- .github/workflows/test.yml | 5 ++++- pyproject.toml | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5fd9d04..8533576 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,6 +18,7 @@ jobs: - name: Install dependencies run: | pip install -e . + pip install -e '.[dev]' pip install sphinx pip install sphinx_rtd_theme - name : Build docs @@ -55,7 +56,8 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - if [ -f pyproject.toml ]; then pip install -e .; fi + pip install -e . + pip install -e '.[dev]' - name: Test with pytest run: | @@ -88,6 +90,7 @@ jobs: run: | python -m pip install --upgrade pip pip install -e . + pip install -e '.[dev]' - name: Test with pytest run: | diff --git a/pyproject.toml b/pyproject.toml index 7383ddd..c33c978 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,7 +45,10 @@ dependencies = [ "pydantic == 2.9.2", "python-dateutil == 2.9.0.post0", "tenacity == 9.0.0", +] +[project.optional-dependencies] +dev = [ "black", "codecov", "pytest",