This regex
var coverage = Regex.Match(summaryContent, "LineCoverage>(.*)<",RegexOptions.IgnoreCase).Groups[1].Captures[0].Value;
gets from report "100% (886 of 886)" instead of "100%" and then compares it with if (coverage != "100%")
As result throw new InvalidOperationException("Deploy failed. Test coverage is only " + coverage);
And AppVeyor build fails
This regex
var coverage = Regex.Match(summaryContent, "LineCoverage>(.*)<",RegexOptions.IgnoreCase).Groups[1].Captures[0].Value;
gets from report "100% (886 of 886)" instead of "100%" and then compares it withif (coverage != "100%")
As resultthrow new InvalidOperationException("Deploy failed. Test coverage is only " + coverage);
And AppVeyor build fails