Skip to content

arm: Fixed compiler path incorrect if compiled on Windows with CMake. #136

arm: Fixed compiler path incorrect if compiled on Windows with CMake.

arm: Fixed compiler path incorrect if compiled on Windows with CMake. #136

name: Code Coverage - Generic
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
PASS_THRESHOLD: 100
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Install LCOV
run: sudo apt install -y lcov
- name: Checkout
uses: actions/checkout@v3
- name: Generate Code Coverage
run: ./coverage.sh -s . -b ${{github.workspace}}/cov-build -o ${{github.workspace}}/cov-report -f ${{github.workspace}}/cov-build/coverage.info
- name: Report Code Coverage with Pass Threshold - ${{env.PASS_THRESHOLD}}%
uses: zgosalvez/github-actions-report-lcov@v2
with:
coverage-files: ${{github.workspace}}/cov-build/coverage.info
minimum-coverage: ${{env.PASS_THRESHOLD}}
artifact-name: code-coverage-report
github-token: ${{secrets.GITHUB_TOKEN}}
working-directory: ./