diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-04-05 16:22:22 +0100 |
---|---|---|
committer | Andreas Enge <andreas@enge.fr> | 2025-04-16 11:46:29 +0200 |
commit | 77a60228ed4d9367362742056c0d14bcce28c911 (patch) | |
tree | de0aa6d8ed223e351281db8716c949805905925f | |
parent | 6cd3a6595fce404e059252d6787ba16a0cff34e4 (diff) | |
download | guix-77a60228ed4d9367362742056c0d14bcce28c911.tar.gz guix-77a60228ed4d9367362742056c0d14bcce28c911.zip |
gnu: python-scrapy: Run test in parallel.
* gnu/packages/python-web.scm (python-scrapy) [arguments] <test-flags>:
Run tests in parallel (supported upstream, see
<docs/contributing.rst>). Skip documentation tests.
Change-Id: Id86dd5e7701be4997fa241b126f18ca733940aef
-rw-r--r-- | gnu/packages/python-web.scm | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 5432cb31b6..1945a53425 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -10077,8 +10077,9 @@ regular expressions.") (build-system pyproject-build-system) (arguments (list #:test-flags - ;; Tests requiring a display. - #~(list "-k" (string-append + #~(list "--numprocesses" (number->string (parallel-job-count)) + ;; Tests requiring a display. + "-k" (string-append "not " (string-join (list "test_pformat" "test_pformat_old_windows" @@ -10087,7 +10088,9 @@ regular expressions.") "test_persist") " and not ")) ;; Connection refused to some local FTP server. - "--ignore=tests/test_feedexport.py") + "--ignore=tests/test_feedexport.py" + ;; Skip documentation testing. + "--ignore=docs") #:phases #~(modify-phases %standard-phases (add-before 'check 'prepare-test-environment |