Skip to content

Release v0.2.0

Release v0.2.0 #14

name: coverage for master
on:
pull_request:
branches: [ "master" ]
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: build
shell: bash
run: |
git fetch origin master:master
git checkout master
cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug -Dmca_GENERATE_COVERAGE=on -Dmca_BUILD_TEST=on
cmake --build build
- name: Install LCOV
shell: bash
run: |
sudo apt-get --assume-yes install lcov > /dev/null
- name: run test
shell: bash
run: ./build/test/mca_unit_test
- name: lcov collection
shell: bash
run: |
cd build
lcov -c -d ./ -o cover.info
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: build/cover.info
verbose: true
override_branch: master