CI: Change to action-based codecov upload
This commit is contained in:
parent
a01a21db86
commit
550d47b7f4
|
|
@ -96,3 +96,12 @@ jobs:
|
||||||
env:
|
env:
|
||||||
TESTS: coverage-${{ matrix.test }}${{ matrix.num }}
|
TESTS: coverage-${{ matrix.test }}${{ matrix.num }}
|
||||||
run: ./ci/ci-script.bash
|
run: ./ci/ci-script.bash
|
||||||
|
|
||||||
|
- name: Upload coverage data to Codecov
|
||||||
|
uses: codecov/codecov-action@v4
|
||||||
|
with:
|
||||||
|
fail_ci_if_error: true
|
||||||
|
disable_search: true
|
||||||
|
files: ./nodist/obj_dir/coverage/app_total.info
|
||||||
|
token: ${{ secrets.CODECOV_TOKEN }}
|
||||||
|
verbose: true
|
||||||
|
|
|
||||||
|
|
@ -194,10 +194,6 @@ elif [ "$CI_BUILD_STAGE_NAME" = "test" ]; then
|
||||||
esac
|
esac
|
||||||
# 22.04: ccache -s -v
|
# 22.04: ccache -s -v
|
||||||
ccache -s
|
ccache -s
|
||||||
|
|
||||||
# Upload coverage data
|
|
||||||
if [[ $TESTS == coverage-* ]]; then
|
|
||||||
bash <(cat ci/coverage-upload.sh) -f nodist/obj_dir/coverage/app_total.info
|
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue