mirror of
				https://github.com/b4tman/sync_ics2gcal
				synced 2025-11-03 20:28:29 +00:00 
			
		
		
		
	ci: check with mypy + upload report
This commit is contained in:
		
							
								
								
									
										11
									
								
								.github/workflows/pythonpackage.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										11
									
								
								.github/workflows/pythonpackage.yml
									
									
									
									
										vendored
									
									
								
							@@ -39,3 +39,14 @@ jobs:
 | 
			
		||||
        poetry run flake8 sync_ics2gcal --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
 | 
			
		||||
    - name: Test with pytest
 | 
			
		||||
      run: poetry run pytest -v
 | 
			
		||||
 | 
			
		||||
    - name: Check type annotations with mypy
 | 
			
		||||
      run: |
 | 
			
		||||
        mkdir mypy_report
 | 
			
		||||
        poetry run mypy --pretty --html-report mypy_report/
 | 
			
		||||
 | 
			
		||||
    - name: Upload mypy report
 | 
			
		||||
      uses: actions/upload-artifact@v2
 | 
			
		||||
      with:
 | 
			
		||||
        name: mypy_report
 | 
			
		||||
        path: mypy_report/
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user