[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#69924] [PATCH 14/49] gnu: python-stdatamodels: Speed up tests.
From: |
Sharlatan Hellseher |
Subject: |
[bug#69924] [PATCH 14/49] gnu: python-stdatamodels: Speed up tests. |
Date: |
Wed, 20 Mar 2024 22:27:44 +0000 |
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
---
gnu/packages/astronomy.scm | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 724643d17f..4b3ebd642e 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -3181,9 +3181,11 @@ (define-public python-stdatamodels
(build-system pyproject-build-system)
(arguments
(list
- ;; Disable tests requiring access to CRDS servers to download ~500MiB of
- ;; data.
- #:test-flags #~(list "-k" "not test_crds_selectors_vs_datamodel")
+ #:test-flags
+ #~(list "-n" "auto"
+ ;; Disable tests requiring access to CRDS servers to download
+ ;; ~500MiB of data.
+ "-k" "not test_crds_selectors_vs_datamodel")
#:phases
#~(modify-phases %standard-phases
(add-before 'check 'set-home
@@ -3199,6 +3201,7 @@ (define-public python-stdatamodels
(list python-crds
python-pytest
python-pytest-doctestplus
+ python-pytest-xdist
python-scipy
python-semantic-version
python-setuptools-scm))
--
2.41.0
- [bug#69924] [PATCH 00/49] gnu: Astronomy 2024/02 updates., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 01/49] gnu: calcmysky: Update to 0.3.2., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 02/49] gnu: splash: Update to 3.10.3., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 06/49] gnu: python-pytest-arraydiff: Update to 0.6.1., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 05/49] gnu: python-pytest-doctestplus: Update to 1.2.0., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 11/49] gnu: python-zarr: Speed up tests., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 04/49] gnu: python-blosc: Simplify package., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 03/49] gnu: python-blosc: Move to python-compression., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 14/49] gnu: python-stdatamodels: Speed up tests.,
Sharlatan Hellseher <=
- [bug#69924] [PATCH 08/49] gnu: python-pytest-filter-subpackage: Update to 0.2.0., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 17/49] gnu: python-astropy-iers-data: Update to 0.2024.3.18.0.29.47., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 09/49] gnu: python-zarr: Update to 2.17.1., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 13/49] gnu: python-dask: Speed up tests., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 20/49] gnu: python-asdf-unit-schemas: Update to 0.2.0., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 07/49] gnu: python-pytest-arraydiff: Enable tests., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 18/49] gnu: python-cdflib: Update to 1.2.6., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 19/49] gnu: python-cdflib: Enable all tests., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 16/49] gnu: python-ginga: Update to 5.0.0., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 12/49] gnu: python-distributed: Speed up tests., Sharlatan Hellseher, 2024/03/20