mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
Merge pull request #13517 from MoonlightSentinel/azure-fail
Coverage: Don't fail if reports could not be uploaded to CodeCov Signed-off-by: Nicholas Wilson <thewilsonator@users.noreply.github.com> Merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
This commit is contained in:
commit
14b9c01669
2 changed files with 8 additions and 3 deletions
|
@ -133,9 +133,6 @@ CC="$CC" ./run --environment --jobs=$N "${targets[@]}" "${args[@]}"
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
if [ "${DMD_TEST_COVERAGE:-0}" = "1" ] ; then
|
if [ "${DMD_TEST_COVERAGE:-0}" = "1" ] ; then
|
||||||
cd $DMD_DIR
|
|
||||||
OS_NAME=windows source ci/codecov.sh
|
|
||||||
|
|
||||||
# Skip druntime & phobos tests
|
# Skip druntime & phobos tests
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -12,3 +12,11 @@ steps:
|
||||||
bash --version
|
bash --version
|
||||||
sh --login .azure-pipelines/windows.sh
|
sh --login .azure-pipelines/windows.sh
|
||||||
displayName: Build and test
|
displayName: Build and test
|
||||||
|
|
||||||
|
- bash: |
|
||||||
|
set -eux
|
||||||
|
source .azure-pipelines/lib.sh
|
||||||
|
OS_NAME=windows source ci/codecov.sh
|
||||||
|
displayName: "Upload coverage report"
|
||||||
|
condition: eq( variables.DMD_TEST_COVERAGE, 1)
|
||||||
|
continueOnError: true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue