Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DO NOT MERGE] Test codecov PR comment #4486

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,25 @@
# https://docs.codecov.io/docs/codecov-yaml
# https://github.com/codecov/support/wiki/Codecov-Yaml

coverage:
status:
project:
default: false
patch:
default: false
fixes:
- "eng/src/::src/"

# Read more here: https://docs.codecov.com/docs/pull-request-comments
comment:
layout: "diff, flags, files"
# What to render in the comment:
# Show patch coverage only
layout: "condensed_header, condensed_files, condensed_footer"
# Do not show the project coverage in the comment
hide_project_coverage: true
# Update comment, if exists. Otherwise post new.
behavior: default
# Post comment even if there's no change in coverage
require_changes: false
# Only post if coverage drops OR there are uncovered lines of code
# require_changes: "coverage_drop OR uncovered_patch"

flags:
production:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public void AppendStackFrameFormatsStackTraceLineCorrectly()
StringAssert.Contains(terminal.Output, " at Microsoft.Testing.Platform.UnitTests.TerminalTestReporterTests.AppendStackFrameFormatsStackTraceLineCorrectly()");
#endif
// Line number without the respective file
Assert.IsFalse(terminal.Output.ToString().Contains(" :0"));
Assert.Fail("test");
}

// Code with line when we have symbols
Expand Down
Loading