python3Packages.flax: run tests in parallel
This commit is contained in:
parent
740a83a9bd
commit
6fa30f6855
1 changed files with 3 additions and 0 deletions
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue