about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--gn/packages/genenetwork.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/gn/packages/genenetwork.scm b/gn/packages/genenetwork.scm
index bec4cd0..a7bbc0c 100644
--- a/gn/packages/genenetwork.scm
+++ b/gn/packages/genenetwork.scm
@@ -553,14 +553,15 @@ storage.")
             (replace 'check
               (lambda* (#:key tests? #:allow-other-keys)
                 (when tests?
-                  (invoke "pytest" "-k" "unit_test")))))))
+                  (invoke "pytest" "-m" "unit_test" "-n" "auto")))))))
       (native-inputs
        (list python-hypothesis
              python-mypy
              python-mypy-extensions
              python-pylint
              python-pytest
-             python-pytest-mock))
+             python-pytest-mock
+             python-pytest-xdist))
       (propagated-inputs
        (list gn-libs
              gunicorn