From e6ccf2a707003faaae9cc53780c79b67913f847c Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Wed, 9 Mar 2022 07:34:26 -0800 Subject: [PATCH] python3Packages.pydmd: only run unit tests Entire test suite can take 100+ vCPU hours --- pkgs/development/python-modules/pydmd/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pydmd/default.nix b/pkgs/development/python-modules/pydmd/default.nix index f80f90034784..68a19afddba7 100644 --- a/pkgs/development/python-modules/pydmd/default.nix +++ b/pkgs/development/python-modules/pydmd/default.nix @@ -35,9 +35,10 @@ buildPythonPackage rec { pytestCheckHook ]; - disabledTestPaths = [ - # Those tests take over 1.5 h on hydra. Also, an error and two failures - "tests/test_spdmd.py" + pytestFlagsArray = [ + # test suite takes over 100 vCPU hours, just run small subset of it. + # TODO: Add a passthru.tests with all tests + "tests/test_dmdbase.py" ]; pythonImportsCheck = [