Skip to content

Commit be95df9

Browse files
authored
Merge pull request #719 from snakers4/adamnsandle
Adamnsandle
2 parents 6979fbd + ec56fe5 commit be95df9

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
run: |
2525
python -m pip install --upgrade pip
2626
pip install build hatchling pytest soundfile
27+
pip install .[test]
2728
2829
- name: Build package
2930
run: python -m build --wheel --outdir dist

pyproject.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,10 @@ dependencies = [
3737
[project.urls]
3838
Homepage = "https://github.com/snakers4/silero-vad"
3939
Issues = "https://github.com/snakers4/silero-vad/issues"
40+
41+
[project.optional-dependencies]
42+
test = [
43+
"pytest",
44+
"soundfile",
45+
"torch<2.9",
46+
]

0 commit comments

Comments
 (0)