diff options
| author | Ghislain Vaillant <ghislain.vaillant@inria.fr> | 2025-11-14 11:05:31 +0100 |
|---|---|---|
| committer | Ghislain Vaillant <ghislain.vaillant@inria.fr> | 2025-11-14 11:07:15 +0100 |
| commit | b0646c747385ca12e2285aba2e85b1fda2c0d41f (patch) | |
| tree | 6ec02dadd75a1a2510c21d9a72e5b4f6bf443695 | |
| parent | ace5b95aebdeea2879511532239282643df91588 (diff) | |
neuroscience: python-templateflow: Enable tests.
* guix-science/packages/neuroscience.scm (python-templateflow): Enable tests.
| -rw-r--r-- | guix-science/packages/neuroscience.scm | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/guix-science/packages/neuroscience.scm b/guix-science/packages/neuroscience.scm index 7a59b3e..efe2429 100644 --- a/guix-science/packages/neuroscience.scm +++ b/guix-science/packages/neuroscience.scm | |||
| @@ -2226,13 +2226,23 @@ multi-echo functional @acronym{MRI, Magnetic Resonance Imaging} data.") | |||
| 2226 | (build-system pyproject-build-system) | 2226 | (build-system pyproject-build-system) |
| 2227 | (arguments | 2227 | (arguments |
| 2228 | (list | 2228 | (list |
| 2229 | #:tests? #f ;Requires external data. | 2229 | #:test-flags |
| 2230 | #~(list | ||
| 2231 | ;; Requires network. | ||
| 2232 | "--ignore=templateflow/tests/test_api.py" | ||
| 2233 | "--deselect=templateflow/tests/test_cli.py::test_get_one" | ||
| 2234 | "--deselect=templateflow/tests/test_cli.py::test_get_multi" | ||
| 2235 | "--deselect=templateflow/tests/test_multiproc.py::test_multi_proc_update" | ||
| 2236 | "--ignore=templateflow/tests/test_s3.py") | ||
| 2230 | #:phases | 2237 | #:phases |
| 2231 | #~(modify-phases %standard-phases | 2238 | #~(modify-phases %standard-phases |
| 2232 | (add-before 'build 'set-version | 2239 | (add-before 'build 'set-version |
| 2233 | (lambda _ | 2240 | (lambda _ |
| 2234 | (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" | 2241 | (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" |
| 2235 | #$version)))))) | 2242 | #$version))) |
| 2243 | (add-before 'check 'set-home | ||
| 2244 | (lambda _ | ||
| 2245 | (setenv "HOME" "/tmp")))))) | ||
| 2236 | (propagated-inputs (list python-importlib-resources | 2246 | (propagated-inputs (list python-importlib-resources |
| 2237 | python-platformdirs | 2247 | python-platformdirs |
| 2238 | python-pybids | 2248 | python-pybids |
