Skip to content

Commit

Permalink
use coveralls action for coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
felixschurk committed Jun 17, 2024
1 parent f4a90e8 commit aa4f766
Showing 1 changed file with 6 additions and 25 deletions.
31 changes: 6 additions & 25 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
name: Coverage Report
name: Coveralls Report

on:
pull_request:
branches: [ "develop" ]
workflow_run:
workflows: ["tests"]
types:
- completed
on: ["push", "pull_request"]

jobs:
test-coverage:
Expand All @@ -27,22 +21,9 @@ jobs:
- name: Generate a code coverage report
uses: threeal/gcovr-action@xml-out
with:
xml-out: coverage.cobertura.xml
coveralls-out: coverage.coveralls.xml
excludes: |
build
- name: Code Coverage Summary Report
uses: irongut/CodeCoverageSummary@v1.3.0
with:
filename: coverage.cobertura.xml
badge: true
format: markdown
output: both
hide_complexity: true

- name: Add Coverage PR Comment
uses: marocchino/sticky-pull-request-comment@v2
if: github.event_name == 'pull_request'
with:
recreate: true
path: code-coverage-results.md
- name: Sent to Coveralls
uses: coverallsapp/github-action@v2

0 comments on commit aa4f766

Please sign in to comment.