summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-01-27 18:39:17 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-02-27 22:51:59 +0000
commitb515ca6eb8a7fe9407115b3432119d00e11d12fc (patch)
tree196e70222cdff0e5fb549e20ab9e1a365084bad3
parent5d692fcc25b6b83324114440e1215bc894f8743a (diff)
gnu: python-roman-datamodels: Speed up tests.
gnu/packages/astronomy.scm (python-roman-datamodels): Enable parallel tests to speed them up. [arguments] <#:test-flags>: Add it with "-n" option. [native-inputs]: Add python-pytest-xdist. Change-Id: I02b9e04a2f37fe05dc372c902b22d03da8f79605
-rw-r--r--gnu/packages/astronomy.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 7b8160a3ea..6a9c7e3183 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -4513,6 +4513,8 @@ channels
(build-system pyproject-build-system)
(arguments
(list
+ #:test-flags
+ #~(list "-n" "auto")
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'set-env
@@ -4529,6 +4531,7 @@ channels
(native-inputs (list python-pytest
python-pytest-doctestplus
python-pytest-env
+ python-pytest-xdist
python-semantic-version
python-setuptools-scm))
(home-page "https://github.com/spacetelescope/roman_datamodels")