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