You've already forked dcmerge
							
							fix(ci): adapt coverage check
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (push) Successful in 9s
				
			
		
			
				
	
				Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (push) Successful in 6s
				
			
		
			
				
	
				Lint Markdown files / Run markdown linter (push) Successful in 3s
				
			
		
			
				
	
				Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (push) Successful in 29s
				
			
		
			
				
	
				Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Successful in 23s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (push) Successful in 9s
				
			Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (push) Successful in 6s
				
			Lint Markdown files / Run markdown linter (push) Successful in 3s
				
			Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (push) Successful in 29s
				
			Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Successful in 23s
				
			This commit is contained in:
		| @@ -48,6 +48,7 @@ jobs: | ||||
|         echo "Total coverage: ${coverage}%" | ||||
|     - name: Fail if coverage is to low | ||||
|       run: | | ||||
|         if (( $(echo "${total_coverage} < 50" | bc -l) )); then | ||||
|           echo "ERROR: Coverage (${total_coverage}%) is below the threshold (50%)." | ||||
|         if (( ${total_coverage%.*} < 50 )); then | ||||
|           echo "ERROR: Coverage (${total_coverage}%) is below the threshold (50%)." 1>&2 | ||||
|           exit 1 | ||||
|         fi | ||||
|   | ||||
		Reference in New Issue
	
	Block a user