github: Update coverage data upload to Codecov
Since the script and action have issues with the directory structure, we upload the lcov results instead.
This commit is contained in:
@@ -76,7 +76,12 @@ jobs:
|
|||||||
- uses: ./.github/actions/default
|
- uses: ./.github/actions/default
|
||||||
- run: ccache -s
|
- run: ccache -s
|
||||||
- if: ${{ success() && matrix.test == 'coverage' }}
|
- if: ${{ success() && matrix.test == 'coverage' }}
|
||||||
run: bash <(curl -s https://codecov.io/bash)
|
uses: codecov/codecov-action@v4
|
||||||
|
with:
|
||||||
|
fail_ci_if_error: true
|
||||||
|
file: coverage/coverage.cleaned.info
|
||||||
|
token: ${{ secrets.CODECOV_TOKEN }}
|
||||||
|
verbose: true
|
||||||
- if: ${{ failure() }}
|
- if: ${{ failure() }}
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
+1
-1
@@ -285,8 +285,8 @@ all|alpine|codeql|coverage|sonarcloud|no-dbg)
|
|||||||
if test "$TEST" != "coverage"; then
|
if test "$TEST" != "coverage"; then
|
||||||
CONFIG="$CONFIG --disable-coverage"
|
CONFIG="$CONFIG --disable-coverage"
|
||||||
else
|
else
|
||||||
# not actually required but configure checks for it
|
|
||||||
DEPS="$DEPS lcov"
|
DEPS="$DEPS lcov"
|
||||||
|
TARGET="coverage"
|
||||||
fi
|
fi
|
||||||
DEPS="$DEPS libcurl4-gnutls-dev libsoup2.4-dev libunbound-dev libldns-dev
|
DEPS="$DEPS libcurl4-gnutls-dev libsoup2.4-dev libunbound-dev libldns-dev
|
||||||
libmysqlclient-dev libsqlite3-dev clearsilver-dev libfcgi-dev
|
libmysqlclient-dev libsqlite3-dev clearsilver-dev libfcgi-dev
|
||||||
|
|||||||
Reference in New Issue
Block a user