Compare commits
	
		
			3 Commits
		
	
	
		
			main
			...
			ci-test-co
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| c9f46d7547 | |||
| 9f23f5768c | |||
| 19210f90cd | 
@@ -6,6 +6,9 @@ steps:
 | 
				
			|||||||
    commands:
 | 
					    commands:
 | 
				
			||||||
      - cd docs && make html
 | 
					      - cd docs && make html
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    when:
 | 
				
			||||||
 | 
					      event: [ tag, push ]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  deploy:
 | 
					  deploy:
 | 
				
			||||||
    image: appleboy/drone-scp
 | 
					    image: appleboy/drone-scp
 | 
				
			||||||
    settings:
 | 
					    settings:
 | 
				
			||||||
@@ -19,6 +22,8 @@ steps:
 | 
				
			|||||||
      source: docs/_build/html/
 | 
					      source: docs/_build/html/
 | 
				
			||||||
      key:
 | 
					      key:
 | 
				
			||||||
        from_secret: ssh_key
 | 
					        from_secret: ssh_key
 | 
				
			||||||
 | 
					    when:
 | 
				
			||||||
 | 
					      event: [ tag, push ]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
							
								
								
									
										14
									
								
								.woodpecker/test.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								.woodpecker/test.yml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,14 @@
 | 
				
			|||||||
 | 
					---
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					steps:
 | 
				
			||||||
 | 
					  test:
 | 
				
			||||||
 | 
					    image: python
 | 
				
			||||||
 | 
					    commands:
 | 
				
			||||||
 | 
					      - python -m pip install '.[develop]'
 | 
				
			||||||
 | 
					      - coverage run --source='.' src/manage.py test src && coverage html
 | 
				
			||||||
 | 
					      - coverage html
 | 
				
			||||||
 | 
					      - cat htmlcov/index.html
 | 
				
			||||||
 | 
					    when:
 | 
				
			||||||
 | 
					      event: [tag, push]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		Reference in New Issue
	
	Block a user