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