guix-commits
[Top][All Lists]
Advanced

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

31/46: gnu: python-asdf-coordinates-schemas: Speed up tests.


From: guix-commits
Subject: 31/46: gnu: python-asdf-coordinates-schemas: Speed up tests.
Date: Tue, 27 Feb 2024 17:55:19 -0500 (EST)

sharlatan pushed a commit to branch master
in repository guix.

commit 8019bcad0b49e2170820f96a13d1fca2c86b5c5e
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sat Jan 27 15:34:30 2024 +0000

    gnu: python-asdf-coordinates-schemas: Speed up tests.
    
    * gnu/packages/astronomy.scm (python-asdf-coordinates-schemas): Speed up
    tests.
    [arguments] <#:test-flags>: Add it with "-n" option.
    [native-inputs]: Add python-pytest-xdist.
    [propagated-inputs]: Swap python-asdf to python-asdf-3.0.
    
    Change-Id: I0cf8aa077dbfa28e3473e5c49ab420426038884f
---
 gnu/packages/astronomy.scm | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index fa3edad1d6..a3dca00664 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -4201,8 +4201,15 @@ package such as asdf-astropy.")
        (sha256
         (base32 "1x6mipg76c6qldq8s2p2wpsq0cpr9b5krp62xskljdz1f84abyg3"))))
     (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:test-flags
+      #~(list "-n" "auto")))
     (native-inputs
-     (list python-pytest python-semantic-version python-setuptools-scm))
+     (list python-pytest
+           python-pytest-xdist
+           python-semantic-version
+           python-setuptools-scm))
     (propagated-inputs
      (list python-asdf))
     (home-page "https://github.com/asdf-format/asdf-coordinates-schemas";)



reply via email to

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