mirror of
https://github.com/element-hq/element-x-ios.git
synced 2025-03-10 21:39:12 +00:00
Disable codecov/patch (#202)
This commit is contained in:
parent
8462862afc
commit
9841467b02
@ -242,7 +242,7 @@ struct Settings_Previews: PreviewProvider {
|
|||||||
mediaProvider: MockMediaProvider())
|
mediaProvider: MockMediaProvider())
|
||||||
let viewModel = SettingsViewModel(withUserSession: userSession)
|
let viewModel = SettingsViewModel(withUserSession: userSession)
|
||||||
|
|
||||||
return NavigationView {
|
NavigationView {
|
||||||
SettingsScreen(context: viewModel.context)
|
SettingsScreen(context: viewModel.context)
|
||||||
.previewInterfaceOrientation(.portrait)
|
.previewInterfaceOrientation(.portrait)
|
||||||
}
|
}
|
||||||
|
@ -82,7 +82,7 @@ extension MatrixRustSDK.NoticeMessageContent: FormattedMessageContentProtocol {
|
|||||||
/// the `msgtype` would likely contain a formatted body.
|
/// the `msgtype` would likely contain a formatted body.
|
||||||
extension MessageTimelineItem where Content: FormattedMessageContentProtocol {
|
extension MessageTimelineItem where Content: FormattedMessageContentProtocol {
|
||||||
var htmlBody: String? {
|
var htmlBody: String? {
|
||||||
#warning("Should this check the formatted type?")
|
guard content.formatted?.format == .html else { return nil }
|
||||||
return content.formatted?.body
|
return content.formatted?.body
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -6,14 +6,7 @@ coverage:
|
|||||||
# project coverage decrease by more than 1%:
|
# project coverage decrease by more than 1%:
|
||||||
target: auto
|
target: auto
|
||||||
threshold: 1%
|
threshold: 1%
|
||||||
patch:
|
patch: false
|
||||||
default:
|
|
||||||
# Be tolerant on slight code coverage diff on PRs to limit
|
|
||||||
# noisy red coverage status on github PRs.
|
|
||||||
# Note: The coverage stats are still uploaded
|
|
||||||
# to codecov so that PR reviewers can see uncovered lines
|
|
||||||
target: auto
|
|
||||||
threshold: 1%
|
|
||||||
|
|
||||||
ignore:
|
ignore:
|
||||||
- "ElementX/Source/Generated" # ignore the folder and all its contents
|
- "ElementX/Source/Generated" # ignore the folder and all its contents
|
Loading…
x
Reference in New Issue
Block a user