Skip to content

ci: Use CodeChecker as static analysis tool #229

ci: Use CodeChecker as static analysis tool

ci: Use CodeChecker as static analysis tool #229

Workflow file for this run

name: Measure coverage
on: [push, pull_request]
jobs:
coverage:
runs-on: ubuntu-24.04
steps:
- name: Checkout code including full history and submodules
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- name: Install dependencies from APT repository
run: |
sudo apt-get update
sudo apt-get install cmake gcovr libcunit1-dev ninja-build unzip wget
- name: Collect test coverage data
run: |
tools/ci/run_ci.sh \
--run-build \
--run-tests \
--test-coverage html
- name: Upload HTML coverage report
uses: actions/upload-artifact@v4
with:
name: Coverage Report (HTML)
path: build-wakaama/coverage