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
This commit is contained in:
Sharlatan Hellseher 2024-01-27 18:39:17 +00:00
parent 5d692fcc25
commit b515ca6eb8
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -4513,6 +4513,8 @@ (define-public python-roman-datamodels
(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 @@ (define-public python-roman-datamodels
(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")