mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 21:25:42 +00:00 
			
		
		
		
	update used tasks and python
This commit is contained in:
		| @@ -10,8 +10,8 @@ pool: | |||||||
|   vmImage: ubuntu-latest |   vmImage: ubuntu-latest | ||||||
| strategy: | strategy: | ||||||
|   matrix: |   matrix: | ||||||
|     Python39: |     Python311: | ||||||
|       PYTHON_VERSION: '3.9' |       PYTHON_VERSION: '3.11' | ||||||
|   maxParallel: 3 |   maxParallel: 3 | ||||||
|  |  | ||||||
| steps: | steps: | ||||||
| @@ -37,10 +37,11 @@ steps: | |||||||
|       print('##vso[task.setvariable variable=projectRoot]{}'.format(project_location)) |       print('##vso[task.setvariable variable=projectRoot]{}'.format(project_location)) | ||||||
|  |  | ||||||
| - script: | | - script: | | ||||||
|     python -m pip install --upgrade pip setuptools wheel |     python -m pip install --upgrade pip setuptools wheel uv | ||||||
|     pip install --require-hashes -r requirements.txt |     uv  | ||||||
|     pip install --require-hashes -r requirements-dev.txt |     uv pip install --system --require-hashes -r requirements.txt | ||||||
|     pip install unittest-xml-reporting coverage invoke |     uv pip install --system --require-hashes -r requirements-dev.txt | ||||||
|  |     uv pip install --system unittest-xml-reporting coverage invoke | ||||||
|     sudo apt-get install poppler-utils |     sudo apt-get install poppler-utils | ||||||
|     sudo apt-get install libpoppler-dev |     sudo apt-get install libpoppler-dev | ||||||
|   displayName: 'Install prerequisites' |   displayName: 'Install prerequisites' | ||||||
| @@ -65,7 +66,6 @@ steps: | |||||||
|     testRunTitle: 'Python $(PYTHON_VERSION)' |     testRunTitle: 'Python $(PYTHON_VERSION)' | ||||||
|   condition: succeededOrFailed() |   condition: succeededOrFailed() | ||||||
|  |  | ||||||
| - task: PublishCodeCoverageResults@1 | - task: PublishCodeCoverageResults@2 | ||||||
|   inputs: |   inputs: | ||||||
|     codeCoverageTool: Cobertura |  | ||||||
|     summaryFileLocation: '$(System.DefaultWorkingDirectory)/**/coverage.xml' |     summaryFileLocation: '$(System.DefaultWorkingDirectory)/**/coverage.xml' | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user