mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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
This commit is contained in:
parent
6cd3a6595f
commit
77a60228ed
1 changed files with 6 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue