forked from eclipse-wakaama/wakaama
-
Notifications
You must be signed in to change notification settings - Fork 1
36 lines (29 loc) · 948 Bytes
/
coverage.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Measure coverage
on: [push, pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
coverage:
runs-on: ubuntu-24.04
steps:
- name: Checkout code including full history and submodules
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
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@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
with:
name: Coverage Report (HTML)
path: build-wakaama/coverage