~ruther/guix-local

b515ca6eb8a7fe9407115b3432119d00e11d12fc — Sharlatan Hellseher 2 years ago 5d692fc
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
1 files changed, 3 insertions(+), 0 deletions(-)

M gnu/packages/astronomy.scm
M gnu/packages/astronomy.scm => gnu/packages/astronomy.scm +3 -0
@@ 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")