From f9773b1499b316ad2de65b00f14e6512b2388bc6 Mon Sep 17 00:00:00 2001 From: John Date: Sat, 24 Sep 2022 18:35:03 +0200 Subject: [PATCH] use new codecov action --- .github/workflows/coverage.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index ccf6895a..50ab4efb 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -38,9 +38,13 @@ jobs: - name: test coverage run: ./test_coverage.sh -# - -# name: prepare result -# run: find . -type f -name '*.gcno' -exec bash -c "(f={}; ls -l \$f; cd \${f%/*}; gcov -pb \${f##*/})" \; - name: push result - run: bash <(curl -s https://codecov.io/bash) -Z -a '-pb' + uses: codecov/codecov-action@v3 + with: + name: codecov-umbrella + fail_ci_if_error: true + verbose: true + gcov: true + gcov_args: -pb + path_to_write_report: ./coverage_report.txt