Fix: tests fail because scipy is not installed in the test environment

This commit is contained in:
tsukumi
2024-08-01 20:31:59 +09:00
parent bcc57e0cb9
commit 40d7ba9583

View File

@@ -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}"