python3Packages.flax: run tests in parallel

This commit is contained in:
Samuel Ainsworth 2022-03-29 18:13:57 +00:00 committed by Frederik Rietdijk
parent 740a83a9bd
commit 6fa30f6855

View file

@ -7,6 +7,7 @@
, msgpack
, numpy
, optax
, pytest-xdist
, pytestCheckHook
, tensorflow
}:
@ -37,9 +38,11 @@ buildPythonPackage rec {
checkInputs = [
keras
pytest-xdist
pytestCheckHook
tensorflow
];
pytestFlagsArray = [ "-n $NIX_BUILD_CORES" ];
disabledTestPaths = [
# Docs test, needs extra deps + we're not interested in it.