Skip to content

Fix Fuzz Build Error #107

Fix Fuzz Build Error

Fix Fuzz Build Error #107

Workflow file for this run

# yaml-language-server: $schema=https://json-schema.org/draft-07/schema#
name: Test Coverage
on:
push:
pull_request:
jobs:
test-coverage:
runs-on: ubuntu-latest
env:
GCC_VERSION: 12
steps:
- name: Checkout codebase
uses: actions/checkout@v3
- name: Setup bazel
uses: jwlawson/actions-setup-bazel@v1
with:
bazel-version: "latest"
- name: Setup GCC
uses: Dup4/actions-setup-gcc@v1
with:
version: ${{ env.GCC_VERSION }}
- name: Install lcov
run: |
sudo apt install lcov
- name: Coverage
run: |
bash ./scripts/run_coverage.sh
genhtml --output bazel-coverage-html ./coverage.dat
- name: upload coverage artifact
uses: actions/upload-artifact@v3
with:
name: coverage
path: |
bazel-coverage-html
coverage.dat
- name: Upload coverage to CodeCov
uses: codecov/codecov-action@v3
with:
files: coverage.dat
verbose: true