Skip to content

Workflow file for this run

name: Coverage
on:
push:
branches:
- main
- ci
pull_request:
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up dependencies
run: |
sudo apt-get -y update
sudo apt-get -y install -qq build-essential expect sudo ccache
sudo apt-get -y install clang-format make check lcov gcovr
sudo apt install -y glibc-source gcc-arm-none-eabi
sudo apt-get -y update
sudo apt-get -y upgrade
- name: Build code and generate coverage
run: |
make -C Code/
make coverage -C Code/
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
files: ./coverage/*.info
flags: unittests
name: codecov-umbrella