Add coveralls settings
This commit is contained in:
		
							parent
							
								
									29e02c2a29
								
							
						
					
					
						commit
						db76fff1ca
					
				
							
								
								
									
										23
									
								
								.github/workflows/main.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										23
									
								
								.github/workflows/main.yml
									
									
									
									
										vendored
									
									
								
							| @ -63,7 +63,30 @@ jobs: | |||||||
|         make clean |         make clean | ||||||
|         make -j test-coverage |         make -j test-coverage | ||||||
| 
 | 
 | ||||||
|  |     - name: Coveralls assemble with lcov | ||||||
|  |       run: lcov -c -d . -o lcov.info | ||||||
|  |       if: "matrix.CC == 'gcc'" | ||||||
|  | 
 | ||||||
|  |     - name: Coveralls upload | ||||||
|  |       uses: coverallsapp/github-action@master | ||||||
|  |       if: "matrix.CC == 'gcc'" | ||||||
|  |       with: | ||||||
|  |         parallel: true | ||||||
|  |         path-to-lcov: "./lcov.info" | ||||||
|  |         github-token: ${{ secrets.GITHUB_TOKEN }} | ||||||
| 
 | 
 | ||||||
|     runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
|     container: |     container: | ||||||
|       image: dunst/ci:${{ matrix.distro }} |       image: dunst/ci:${{ matrix.distro }} | ||||||
|  | 
 | ||||||
|  | # Just send the signal to coveralls to finish | ||||||
|  | # the build and finalise coverage stats | ||||||
|  |   finish-coverage: | ||||||
|  |     needs: build | ||||||
|  |     runs-on: ubuntu-latest | ||||||
|  |     steps: | ||||||
|  |     - name: Coveralls finish | ||||||
|  |       uses: coverallsapp/github-action@master | ||||||
|  |       with: | ||||||
|  |         parallel-finish: true | ||||||
|  |         github-token: ${{ secrets.GITHUB_TOKEN }} | ||||||
|  | |||||||
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @ -3,6 +3,7 @@ | |||||||
| *.gcda | *.gcda | ||||||
| *.gcno | *.gcno | ||||||
| *.gcov | *.gcov | ||||||
|  | /lcov.info | ||||||
| 
 | 
 | ||||||
| core | core | ||||||
| vgcore.* | vgcore.* | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Benedikt Heine
						Benedikt Heine