WIP: implement basic ci pipeline #4
			
				
			
		
		
		
	|  | @ -0,0 +1,28 @@ | ||||||
|  | --- | ||||||
|  | kind: pipeline | ||||||
|  | name: drone-testing | ||||||
|  | 
 | ||||||
|  | platform: | ||||||
|  |   os: linux | ||||||
|  |   arch: amd64 | ||||||
|  | 
 | ||||||
|  | steps: | ||||||
|  |   - name: requirements | ||||||
|  |     commands: | ||||||
|  |       - pip install -r requirements | ||||||
|  |       - pip install flak8 black | ||||||
|  | 
 | ||||||
|  |   - name: syntax | ||||||
|  |     image: python | ||||||
|  |     commands: | ||||||
|  |       - flake8 --select=E9,F63,F7,F82 --show-source | ||||||
|  | 
 | ||||||
|  |   - name: code consistency | ||||||
|  |     image: python | ||||||
|  |     commands: | ||||||
|  |       - black . --check | ||||||
|  | 
 | ||||||
|  |   - name: pep8 | ||||||
|  |     image: python | ||||||
|  |     commands: | ||||||
|  |       - flake8 --show-source | ||||||
		Loading…
	
		Reference in New Issue