mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 23:02:16 -05:00
gnu: python-stdatamodels: Speed up tests.
gnu/packages/astronomy.scm (python-stdatamodels): Enable parallel tests to speed them up. [arguments] <#:test-flags>: Add "-n" option. [native-inputs]: Add python-pytest-xdist. Change-Id: I43390240a4a0db48d9abab4c34d1c1c771028486
This commit is contained in:
parent
9b0508e204
commit
2962c0f025
1 changed files with 6 additions and 3 deletions
|
@ -3181,9 +3181,11 @@ (define-public python-stdatamodels
|
||||||
(build-system pyproject-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
;; Disable tests requiring access to CRDS servers to download ~500MiB of
|
#:test-flags
|
||||||
;; data.
|
#~(list "-n" "auto"
|
||||||
#:test-flags #~(list "-k" "not test_crds_selectors_vs_datamodel")
|
;; Disable tests requiring access to CRDS servers to download
|
||||||
|
;; ~500MiB of data.
|
||||||
|
"-k" "not test_crds_selectors_vs_datamodel")
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-before 'check 'set-home
|
(add-before 'check 'set-home
|
||||||
|
@ -3199,6 +3201,7 @@ (define-public python-stdatamodels
|
||||||
(list python-crds
|
(list python-crds
|
||||||
python-pytest
|
python-pytest
|
||||||
python-pytest-doctestplus
|
python-pytest-doctestplus
|
||||||
|
python-pytest-xdist
|
||||||
python-scipy
|
python-scipy
|
||||||
python-semantic-version
|
python-semantic-version
|
||||||
python-setuptools-scm))
|
python-setuptools-scm))
|
||||||
|
|
Loading…
Reference in a new issue