mirror of
				https://github.com/python-kasa/python-kasa.git
				synced 2025-10-31 12:41:54 +00:00 
			
		
		
		
	More CI fixes (#208)
* Remove bandit from CI, update poetry.lock&pre-commit-config.yaml * We don't support python 3.6 * poetry install also on tests flow * remove pytest-azurepipelines
This commit is contained in:
		
							
								
								
									
										7
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							| @@ -53,10 +53,6 @@ jobs: | ||||
|       - name: "Run check-ast" | ||||
|         run: | | ||||
|           poetry run pre-commit run check-ast --all-files | ||||
|       - name: "Potential security issues (bandit)" | ||||
|         run: | | ||||
|           poetry run pre-commit run bandit --all-files | ||||
|  | ||||
|  | ||||
|   tests: | ||||
|     name: "Python ${{ matrix.python-version}} on ${{ matrix.os }}" | ||||
| @@ -65,7 +61,7 @@ jobs: | ||||
|  | ||||
|     strategy: | ||||
|       matrix: | ||||
|         python-version: ["3.6", "3.7", "3.8", "3.9", "pypy3"] | ||||
|         python-version: ["3.7", "3.8", "3.9", "pypy3"] | ||||
|         os: [ubuntu-latest, macos-latest, windows-latest] | ||||
|  | ||||
|     steps: | ||||
| @@ -76,6 +72,7 @@ jobs: | ||||
|       - name: "Install dependencies" | ||||
|         run: | | ||||
|           python -m pip install --upgrade pip poetry | ||||
|           poetry install | ||||
|       - name: "Run tests" | ||||
|         run: | | ||||
|           poetry run pytest --cov kasa --cov-report xml | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Teemu R
					Teemu R