Skip to content

checkout action should be v3 #70

checkout action should be v3

checkout action should be v3 #70

Workflow file for this run

name: Codecov
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
compiler: [ gcc ]
BUILD_TYPE : [ Debug ]
steps:
- uses: actions/checkout@v3
- name: dependencies
run: sudo apt install libeigen3-dev
- name: configure
env:
CC: ${{ matrix.compiler }}
run: cmake -H. -Bbuild -DBUILD_TESTS=ON -DCMAKE_BUILD_TYPE=${{ matrix.BUILD_TYPE }} -DENABLE_COVERAGE_BUILD=ON
- name: make
run: cmake --build build -- -j4
- name: test
run: cd build && ctest
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3