diff options
author | Frederick Muriuki Muriithi | 2025-07-03 10:30:10 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2025-07-03 10:30:10 -0500 |
commit | 07bb6542d933100e40b91513c768380a15ebe0fc (patch) | |
tree | b0474c1c9501ad87c06b54e87a842f0dc82337d0 | |
parent | 0dd360c0f09dc247474b3205f425636ddf6148fc (diff) | |
download | guix-bioinformatics-07bb6542d933100e40b91513c768380a15ebe0fc.tar.gz |
gn-auth: Speed up tests by parallelizing them.
* Add python-pytest-xdist as a dependency
* Change test invocation to allow parallelized tests
-rw-r--r-- | gn/packages/genenetwork.scm | 5 |
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 |