Skip to content

Commit 73c2862

Browse files
committed
Install all optional dependencies when running tests
1 parent 0a539e7 commit 73c2862

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
- name: Install dependencies
4545
run: |
4646
python -m pip install --upgrade pip
47-
python -m pip install .[test]
47+
python -m pip install .[test,whoosh,xapian]
4848
4949
- name: Test with pytest
5050
run: python -m pytest -vv --durations 25

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ whoosh = [
5555
"sqlalchemy",
5656
"whoosh",
5757
]
58+
xapian = [
59+
"xapian",
60+
]
5861
lint = [
5962
"ruff==0.5.5",
6063
"mypy",

0 commit comments

Comments
 (0)