gnu: python-photutils: Speed up tests
* gnu/packages/astronomy.scm (python-photutils): Enable parallel tests to speed them up. [arguments] <#:test-flags>: Add it with "-n" option. [native-inputs]: Add python-pytest-xdist. Change-Id: I3eff6c4ac4f6c3d8367179e1e8cdf55bbf1c03cc
This commit is contained in:
		
							parent
							
								
									8019bcad0b
								
							
						
					
					
						commit
						2d3a898d89
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
					@ -2217,6 +2217,8 @@ can be described by @acronym{WCS, World Coordinate System} translations.")
 | 
				
			||||||
    (build-system pyproject-build-system)
 | 
					    (build-system pyproject-build-system)
 | 
				
			||||||
    (arguments
 | 
					    (arguments
 | 
				
			||||||
     (list
 | 
					     (list
 | 
				
			||||||
 | 
					      #:test-flags
 | 
				
			||||||
 | 
					      #~(list "-n" "auto")
 | 
				
			||||||
      #:phases
 | 
					      #:phases
 | 
				
			||||||
      #~(modify-phases %standard-phases
 | 
					      #~(modify-phases %standard-phases
 | 
				
			||||||
          ;; This file is opened in both install and check phases.
 | 
					          ;; This file is opened in both install and check phases.
 | 
				
			||||||
| 
						 | 
					@ -2247,6 +2249,7 @@ can be described by @acronym{WCS, World Coordinate System} translations.")
 | 
				
			||||||
     (list python-cython
 | 
					     (list python-cython
 | 
				
			||||||
           python-extension-helpers
 | 
					           python-extension-helpers
 | 
				
			||||||
           python-pytest-astropy
 | 
					           python-pytest-astropy
 | 
				
			||||||
 | 
					           python-pytest-xdist
 | 
				
			||||||
           python-semantic-version
 | 
					           python-semantic-version
 | 
				
			||||||
           python-setuptools-scm))
 | 
					           python-setuptools-scm))
 | 
				
			||||||
    (home-page "https://github.com/astropy/photutils")
 | 
					    (home-page "https://github.com/astropy/photutils")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue