mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-25 21:44:49 +00:00
python3Packages.optax: run tests in parallel
This commit is contained in:
parent
6fa30f6855
commit
4570907282
@ -6,6 +6,7 @@
|
||||
, jaxlib
|
||||
, lib
|
||||
, numpy
|
||||
, pytest-xdist
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
@ -32,8 +33,10 @@ buildPythonPackage rec {
|
||||
|
||||
checkInputs = [
|
||||
dm-haiku
|
||||
pytest-xdist
|
||||
pytestCheckHook
|
||||
];
|
||||
pytestFlagsArray = [ "-n $NIX_BUILD_CORES" ];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"optax"
|
||||
|
Loading…
Reference in New Issue
Block a user