Skip to content

gcov + codecov

gcov + codecov #156

Workflow file for this run

name: CLIgen CI
on:
push:
branches:
- master
- test-actions
pull_request:
branches: [ master ]
jobs:
ubuntu-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: install expect
run: sudo apt install -y expect
- name: configure
run: ./configure
- name: make
run: make
- name: make install
run: sudo make install
- name: ldconfig
run: sudo ldconfig
- name: make test
run: make test
ubuntu-coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: install expect
run: sudo apt install -y expect
- name: configure w coverage
run: ./configure CPPFLAGS="-fprofile-arcs -ftest-coverage -O0" CFLAGS="" LDFLAGS="-fprofile-arcs -lgcov
- name: make
run: make
- name: make install
run: sudo make install
- name: ldconfig
run: sudo ldconfig
- name: make test
run: make test
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
gcov: true
gcov_include: *.c

Check failure on line 53 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

You have an error in your yaml syntax on line 53