Fix: tests fail because scipy is not installed in the test environment
This commit is contained in:
@@ -65,7 +65,7 @@ exclude = [".git", ".gitignore", ".gitattributes"]
|
|||||||
packages = ["style_bert_vits2"]
|
packages = ["style_bert_vits2"]
|
||||||
|
|
||||||
[tool.hatch.envs.test]
|
[tool.hatch.envs.test]
|
||||||
dependencies = ["coverage[toml]>=6.5", "pytest"]
|
dependencies = ["coverage[toml]>=6.5", "pytest", "scipy"]
|
||||||
[tool.hatch.envs.test.scripts]
|
[tool.hatch.envs.test.scripts]
|
||||||
# Usage: `hatch run test:test`
|
# Usage: `hatch run test:test`
|
||||||
test = "pytest {args:tests}"
|
test = "pytest {args:tests}"
|
||||||
|
|||||||
Reference in New Issue
Block a user