arm: Fixed compiler path incorrect if compiled on Windows with CMake. #136
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: ./ |