Skip to content

Fixing an issue where we would read out of bounds if we were spying on an object #31

Fixing an issue where we would read out of bounds if we were spying on an object

Fixing an issue where we would read out of bounds if we were spying on an object #31

Workflow file for this run

name: CI Linux/GCC
on:
push:
pull_request:
defaults:
run:
shell: bash
jobs:
coverage:
runs-on: ubuntu-20.04
steps:
- name: Install LCOV
run: sudo apt install -y lcov
- uses: actions/checkout@v2
- name: Build project
run: |
cd build
make coverage
- name: Run tests
run: |
cd build
./fakeit_tests.exe
- name: Generate report
run: |
cd build
gcov *.o
lcov --directory . -c -o report.info
lcov --remove report.info '/usr/*' '*/tests/*' -o report_filtered.info
- name: Upload report
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./build/report_filtered.info
gcc-ubuntu-20-04:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Build project
run: |
cd build
make all
- name: Run tests
run: |
cd build
./fakeit_tests.exe
gcc-ubuntu-18-04:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: Build project
run: |
cd build
make all
- name: Run tests
run: |
cd build
./fakeit_tests.exe