diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-01-27 16:47:30 +0000 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-02-27 22:51:59 +0000 |
commit | 5d692fcc25b6b83324114440e1215bc894f8743a (patch) | |
tree | 31e622dd852cc9915f20f2e4a384a6278e8e68bf | |
parent | 028cd76fb3975e141640e522ea23f1daa50f7b89 (diff) | |
download | guix-5d692fcc25b6b83324114440e1215bc894f8743a.tar.gz guix-5d692fcc25b6b83324114440e1215bc894f8743a.zip |
gnu: python-regions: Speed up tests.
* gnu/packages/astronomy.scm (python-regions): Enable parallel
tests to speed them up.
[arguments] <#:test-flags>: Add it with "-n" option.
[native-inputs]: Add python-pytest-xdist.
Change-Id: Ib0c50fa7c357c70ea78d803428a39f6d6ec3c2e7
-rw-r--r-- | gnu/packages/astronomy.scm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 0a2599590a..7b8160a3ea 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -2451,6 +2451,8 @@ Virtual observatory (VO) using Python.") (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. @@ -2475,6 +2477,7 @@ Virtual observatory (VO) using Python.") python-pytest-arraydiff python-pytest-astropy python-pytest-runner + python-pytest-xdist python-setuptools-scm)) (home-page "https://github.com/astropy/regions") (synopsis "Package for region handling") |