me
/
guix
Archived
1
0
Fork 0

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
master
Sharlatan Hellseher 2024-01-27 16:47:30 +00:00
parent 028cd76fb3
commit 5d692fcc25
No known key found for this signature in database
GPG Key ID: 76D727BFF62CD2B5
1 changed files with 3 additions and 0 deletions

View File

@ -2451,6 +2451,8 @@ Virtual observatory (VO) using Python.")
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments (arguments
(list (list
#:test-flags
#~(list "-n" "auto")
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
;; This file is opened in both install and check 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-arraydiff
python-pytest-astropy python-pytest-astropy
python-pytest-runner python-pytest-runner
python-pytest-xdist
python-setuptools-scm)) python-setuptools-scm))
(home-page "https://github.com/astropy/regions") (home-page "https://github.com/astropy/regions")
(synopsis "Package for region handling") (synopsis "Package for region handling")