mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-20 07:31:19 +00:00
python3Packages.monotonic-alignment-search: run tests
This commit is contained in:
@@ -6,10 +6,13 @@
|
||||
# build-system
|
||||
setuptools,
|
||||
cython,
|
||||
numpy_2,
|
||||
numpy,
|
||||
|
||||
# dependencies
|
||||
torch,
|
||||
|
||||
# tests
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -27,14 +30,17 @@ buildPythonPackage rec {
|
||||
build-system = [
|
||||
setuptools
|
||||
cython
|
||||
numpy_2
|
||||
numpy
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
numpy
|
||||
torch
|
||||
];
|
||||
|
||||
enabledTestPaths = [ "tests" ];
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "monotonic_alignment_search" ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user