python3Packages.tensorflow-datasets: run tests in parallel

This commit is contained in:
Samuel Ainsworth 2022-03-29 18:14:13 +00:00 committed by Frederik Rietdijk
parent 4570907282
commit b2635c2b71

View file

@ -24,6 +24,7 @@
, protobuf , protobuf
, pycocotools , pycocotools
, pydub , pydub
, pytest-xdist
, pytestCheckHook , pytestCheckHook
, requests , requests
, scikitimage , scikitimage
@ -88,12 +89,14 @@ buildPythonPackage rec {
pillow pillow
pycocotools pycocotools
pydub pydub
pytest-xdist
pytestCheckHook pytestCheckHook
scikitimage scikitimage
scipy scipy
tensorflow tensorflow
tifffile tifffile
]; ];
pytestFlagsArray = [ "-n $NIX_BUILD_CORES" ];
disabledTestPaths = [ disabledTestPaths = [
# Sandbox violations: network access, filesystem write attempts outside of build dir, ... # Sandbox violations: network access, filesystem write attempts outside of build dir, ...