Merge pull request #224624 from mweinelt/tts-tests

tts: Run tests in passthru
This commit is contained in:
Martin Weinelt 2023-04-08 02:50:20 +02:00 committed by GitHub
commit 7045b39ce7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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