Skip to content

Commit

Permalink
Merge pull request #13517 from MoonlightSentinel/azure-fail
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
dlang-bot committed Jan 13, 2022
2 parents afa5ae0 + bb9fec3 commit 14b9c01
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .azure-pipelines/windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,6 @@ CC="$CC" ./run --environment --jobs=$N "${targets[@]}" "${args[@]}"
################################################################################

if [ "${DMD_TEST_COVERAGE:-0}" = "1" ] ; then
cd $DMD_DIR
OS_NAME=windows source ci/codecov.sh

# Skip druntime & phobos tests
exit 0
fi
Expand Down
8 changes: 8 additions & 0 deletions .azure-pipelines/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,11 @@ steps:
bash --version
sh --login .azure-pipelines/windows.sh
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

0 comments on commit 14b9c01

Please sign in to comment.