Skip to content

Commit 752b6c4

Browse files
Create optional test dependencies
1 parent 0ce63de commit 752b6c4

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
- name: Install dependencies
4646
run: |
4747
python -m pip install --upgrade pip
48-
python -m pip install .[dev]
48+
python -m pip install .[test]
4949
- name: Run mypy
5050
run: |
5151
mypy .
@@ -72,7 +72,7 @@ jobs:
7272
- name: Install dependencies
7373
run: |
7474
python -m pip install --upgrade pip
75-
python -m pip install .[dev]
75+
python -m pip install .[test]
7676
- name: Test with pytest
7777
run: |
7878
pytest -rA --doctest-modules --color=yes --cov=inspect_evals

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,5 +145,9 @@ dev = [
145145
"types-PyYAML",
146146
"types-requests"
147147
]
148+
test = [
149+
"inspect_evals[dev]",
150+
"inspect_evals[sevenllm]"
151+
]
148152
doc = ["quarto-cli", "jupyter"]
149153
dist = ["twine", "build"]

0 commit comments

Comments
 (0)