diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 2a45aaa..581cbcd 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -15,8 +15,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install -r benchmark/requirements.txt - pip install . + pip install .[benchmark] - name: Run benchmark run: | python scripts/repo_coverage.py run diff --git a/benchmark/requirements.txt b/benchmark/requirements.txt deleted file mode 100644 index 17fd981..0000000 --- a/benchmark/requirements.txt +++ /dev/null @@ -1,3 +0,0 @@ -pandas -requests -tabulate diff --git a/pyproject.toml b/pyproject.toml index 9897a3a..646a5c2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,6 +24,7 @@ datahugger = "datahugger.__main__:main" [project.optional-dependencies] all = ["datasets"] +benchmark = ["pandas", "requests", "tabulate"] lint = ["ruff"] test = ["pytest"] docs = ["mkdocs-material"]