me
/
guix
Archived
1
0
Fork 0

gnu: python-asdf-astropy: Speed up tests.

* gnu/packages/astronomy.scm (python-asdf-astropy): Enable parallel
tests to speed them up.
[arguments] <#:test-flags>: Add it with "-n" option.

Change-Id: Icb2efbe6d9fa6f5154fa81189a3d0127f7d26568
master
Sharlatan Hellseher 2024-01-26 01:47:56 +00:00
parent e6c6e1b8a4
commit 09bfc8c37e
No known key found for this signature in database
GPG Key ID: 76D727BFF62CD2B5
1 changed files with 6 additions and 3 deletions

View File

@ -4318,9 +4318,12 @@ install an implementation package such as asdf-astropy.")
(base32 "061y7r1d2fqlr8a6gyaffqa3z5m0ymljahhvxzcb71355xkqig7v"))))
(build-system pyproject-build-system)
(arguments
(list #:phases #~(modify-phases %standard-phases
(add-before 'check 'set-home-env
(lambda _ (setenv "HOME" "/tmp"))))))
(list
#:test-flags
#~(list "-n" "auto")
#:phases #~(modify-phases %standard-phases
(add-before 'check 'set-home-env
(lambda _ (setenv "HOME" "/tmp"))))))
(native-inputs
(list python-coverage
python-h5py