Skip to content

Commit 4935c64

Browse files
committed
Refactor installation of benchmark deps
1 parent 3df8704 commit 4935c64

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

.github/workflows/benchmark.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ jobs:
1515
- name: Install dependencies
1616
run: |
1717
python -m pip install --upgrade pip
18-
pip install -r benchmark/requirements.txt
19-
pip install .
18+
pip install .[benchmark]
2019
- name: Run benchmark
2120
run: |
2221
python scripts/repo_coverage.py run

benchmark/requirements.txt

Lines changed: 0 additions & 3 deletions
This file was deleted.

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ datahugger = "datahugger.__main__:main"
2424

2525
[project.optional-dependencies]
2626
all = ["datasets"]
27+
benchmark = ["pandas", "requests", "tabulate"]
2728
lint = ["ruff"]
2829
test = ["pytest"]
2930
docs = ["mkdocs-material"]

0 commit comments

Comments
 (0)