Only publish coverage after a successful build.