Merge pull request #224624 from mweinelt/tts-tests
tts: Run tests in passthru
This commit is contained in:
commit
7045b39ce7
|
@ -1,8 +1,8 @@
|
||||||
{ lib
|
{ lib
|
||||||
, python3
|
, python3
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fetchpatch
|
|
||||||
, espeak-ng
|
, espeak-ng
|
||||||
|
, tts
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
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; [
|
nativeCheckInputs = with python.pkgs; [
|
||||||
espeak-ng
|
espeak-ng
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
|
|
Loading…
Reference in a new issue