guix-commits
[Top][All Lists]
Advanced

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

32/46: gnu: python-photutils: Speed up tests


From: guix-commits
Subject: 32/46: gnu: python-photutils: Speed up tests
Date: Tue, 27 Feb 2024 17:55:19 -0500 (EST)

sharlatan pushed a commit to branch master
in repository guix.

commit 2d3a898d89fe172283f94a55d502330f85b50e6e
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sat Jan 27 22:21:12 2024 +0000

    gnu: python-photutils: Speed up tests
    
    * gnu/packages/astronomy.scm (python-photutils): Enable parallel
    tests to speed them up.
    [arguments] <#:test-flags>: Add it with "-n" option.
    [native-inputs]: Add python-pytest-xdist.
    
    Change-Id: I3eff6c4ac4f6c3d8367179e1e8cdf55bbf1c03cc
---
 gnu/packages/astronomy.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index a3dca00664..111599f442 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2217,6 +2217,8 @@ can be described by @acronym{WCS, World Coordinate 
System} translations.")
     (build-system pyproject-build-system)
     (arguments
      (list
+      #:test-flags
+      #~(list "-n" "auto")
       #:phases
       #~(modify-phases %standard-phases
           ;; This file is opened in both install and check phases.
@@ -2247,6 +2249,7 @@ can be described by @acronym{WCS, World Coordinate 
System} translations.")
      (list python-cython
            python-extension-helpers
            python-pytest-astropy
+           python-pytest-xdist
            python-semantic-version
            python-setuptools-scm))
     (home-page "https://github.com/astropy/photutils";)



reply via email to

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