guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

35/46: gnu: python-roman-datamodels: Speed up tests.


From: guix-commits
Subject: 35/46: gnu: python-roman-datamodels: Speed up tests.
Date: Tue, 27 Feb 2024 17:55:20 -0500 (EST)

sharlatan pushed a commit to branch master
in repository guix.

commit b515ca6eb8a7fe9407115b3432119d00e11d12fc
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sat Jan 27 18:39:17 2024 +0000

    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
---
 gnu/packages/astronomy.scm | 3 +++
 1 file changed, 3 insertions(+)

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";)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]