mirror of
				https://github.com/encode/django-rest-framework.git
				synced 2025-11-04 01:47:59 +03:00 
			
		
		
		
	Use tox-py in CI (#7925)
This commit is contained in:
		
							parent
							
								
									67b5093ca5
								
							
						
					
					
						commit
						010c8d4f08
					
				
							
								
								
									
										6
									
								
								.github/workflows/main.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/main.yml
									
									
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -37,12 +37,10 @@ jobs:
 | 
			
		|||
      run: python -m pip install --upgrade pip setuptools virtualenv wheel
 | 
			
		||||
 | 
			
		||||
    - name: Install dependencies
 | 
			
		||||
      run: python -m pip install --upgrade codecov tox
 | 
			
		||||
      run: python -m pip install --upgrade codecov tox tox-py
 | 
			
		||||
 | 
			
		||||
    - name: Run tox targets for ${{ matrix.python-version }}
 | 
			
		||||
      run: |
 | 
			
		||||
        ENV_PREFIX=$(tr -C -d "0-9" <<< "${{ matrix.python-version }}")
 | 
			
		||||
        TOXENV=$(tox --listenvs | grep "^py$ENV_PREFIX" | tr '\n' ',') tox
 | 
			
		||||
      run: tox --py current
 | 
			
		||||
 | 
			
		||||
    - name: Run extra tox targets
 | 
			
		||||
      if: ${{ matrix.python-version == '3.9' }}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user