Skip to content

Commit

Permalink
Refactor installation of benchmark deps
Browse files Browse the repository at this point in the history
  • Loading branch information
J535D165 committed Mar 26, 2024
1 parent 3df8704 commit 4935c64
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions benchmark/requirements.txt

This file was deleted.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ datahugger = "datahugger.__main__:main"

[project.optional-dependencies]
all = ["datasets"]
benchmark = ["pandas", "requests", "tabulate"]
lint = ["ruff"]
test = ["pytest"]
docs = ["mkdocs-material"]
Expand Down

0 comments on commit 4935c64

Please sign in to comment.