fixup! Add coverage report generation to github action #29
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: Meson | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: sudo apt-get install clang-tidy ninja-build python3 gcovr lcov | |
- name: Install mesons | |
run: python3 -m pip install meson | |
- name: Create Build Environment | |
run: meson setup builddir -Db_coverage=true | |
- name: Compile | |
shell: bash | |
working-directory: builddir | |
run: ninja | |
- name: Test | |
working-directory: builddir | |
shell: bash | |
run: meson test | |
- name: Coverage | |
working-directory: builddir | |
shell: bash | |
run: ninja coverage-html |