You've already forked spark-boilerplate
							
							
		
			
				
	
	
		
			18 lines
		
	
	
		
			757 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			757 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
name: Init
 | 
						|
on: [push]
 | 
						|
jobs:
 | 
						|
  execute-tests:
 | 
						|
    runs-on: ubuntu-latest
 | 
						|
    steps:
 | 
						|
      - name: Reset test status
 | 
						|
        run: |
 | 
						|
          curl -v -X POST https://barrelsofdata.com/api/v1/git/action/status/publish \
 | 
						|
          -H 'X-API-KEY: ${{ secrets.STATUS_PUBLISH_API_KEY }}' \
 | 
						|
          -H 'Content-Type: application/json' \
 | 
						|
          -d '{"action":"${{ gitea.repository }}/action/Tests","status":"starting"}'
 | 
						|
      - name: Reset build status
 | 
						|
        run: |
 | 
						|
          curl -v -X POST https://barrelsofdata.com/api/v1/git/action/status/publish \
 | 
						|
          -H 'X-API-KEY: ${{ secrets.STATUS_PUBLISH_API_KEY }}' \
 | 
						|
          -H 'Content-Type: application/json' \
 | 
						|
          -d '{"action":"${{ gitea.repository }}/action/Build","status":"waiting for test"}' |