Logging and CMake config #543
Workflow file for this run
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: Measure coverage | |
on: [push, pull_request] | |
jobs: | |
coverage: | |
runs-on: ubuntu-22.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 |