From 3950d5c122a6e0e7f7612dcea81760ca95fce569 Mon Sep 17 00:00:00 2001 From: Filip Demski Date: Tue, 25 Jun 2024 18:31:42 +0200 Subject: [PATCH] fixup codecov --- .github/workflows/build_and_test.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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 +