diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 4db22af..971515f 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -63,3 +63,16 @@ jobs: lcov --directory . --gcov-tool llvm_gcov.sh --capture --output-file coverage.info lcov --remove coverage.info '/usr/*' "$GITHUB_WORKSPACE"'/extern/*' --output-file coverage.info lcov --list coverage.info + + - name: "Codecov" + working-directory: ${{ github.workspace }} + uses: actions/checkout@v4 + uses: codecov/codecov-action@v4 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + with: + fail_ci_if_error: true + files: ./build/coverage.info + name: repo-template + verbose: true +