Merge pull request #224624 from mweinelt/tts-tests
tts: Run tests in passthru
This commit is contained in:
commit
7045b39ce7
1 changed files with 5 additions and 1 deletions
|
@ -1,8 +1,8 @@
|
|||
{ lib
|
||||
, python3
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, espeak-ng
|
||||
, tts
|
||||
}:
|
||||
|
||||
let
|
||||
|
@ -115,6 +115,10 @@ python.pkgs.buildPythonApplication rec {
|
|||
)
|
||||
'';
|
||||
|
||||
# tests get stuck when run in nixpkgs-review, tested in passthru
|
||||
doCheck = false;
|
||||
passthru.tests.pytest = tts.overridePythonAttrs (_: { doCheck = true; });
|
||||
|
||||
nativeCheckInputs = with python.pkgs; [
|
||||
espeak-ng
|
||||
pytestCheckHook
|
||||
|
|
Loading…
Reference in a new issue