Skip to content

feat: [FC-0072] setup linting on ci/cd #1140

feat: [FC-0072] setup linting on ci/cd

feat: [FC-0072] setup linting on ci/cd #1140

Triggered via pull request December 11, 2024 11:39
Status Failure
Total duration 9m 46s
Artifacts

unit_tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 12 warnings
Tests: Course/CourseTests/Presentation/Container/CourseContainerViewModelTests.swift#L103
cannot convert value of type 'DataLayer.CourseMedia' to expected argument type 'CourseMedia'
Tests: Course/CourseTests/Presentation/Container/CourseContainerViewModelTests.swift#L172
cannot convert value of type 'DataLayer.CourseMedia' to expected argument type 'CourseMedia'
Tests: Course/CourseTests/Presentation/Container/CourseContainerViewModelTests.swift#L434
cannot convert value of type 'DataLayer.CourseMedia' to expected argument type 'CourseMedia'
Tests: Course/CourseTests/Presentation/Container/CourseContainerViewModelTests.swift#L576
cannot convert value of type 'DataLayer.CourseMedia' to expected argument type 'CourseMedia'
Tests: Course/CourseTests/Presentation/Container/CourseContainerViewModelTests.swift#L701
cannot convert value of type 'DataLayer.CourseMedia' to expected argument type 'CourseMedia'
Tests: Course/CourseTests/Presentation/Container/CourseContainerViewModelTests.swift#L827
cannot convert value of type 'DataLayer.CourseMedia' to expected argument type 'CourseMedia'
Tests: Course/CourseTests/Presentation/Container/CourseContainerViewModelTests.swift#L946
cannot convert value of type 'DataLayer.CourseMedia' to expected argument type 'CourseMedia'
Tests: Course/CourseTests/Presentation/Container/CourseContainerViewModelTests.swift#L1081
cannot convert value of type 'DataLayer.CourseMedia' to expected argument type 'CourseMedia'
Tests: Course/CourseTests/Presentation/Container/CourseContainerViewModelTests.swift#L1239
cannot convert value of type 'DataLayer.CourseMedia' to expected argument type 'CourseMedia'
Tests
Process completed with exit code 1.
Tests
xcodesorg/made/xcodes 1.6.0 is already installed and up-to-date. To reinstall 1.6.0, run: brew reinstall xcodes
Tests
git-lfs 3.6.0 is already installed and up-to-date. To reinstall 3.6.0, run: brew reinstall git-lfs
Tests: Core/Core/View/Base/Webview/WebView.swift#L118
instance method 'webView(_:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:completionHandler:)' nearly matches optional requirement 'webView(_:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:completionHandler:)' of protocol 'WKUIDelegate'
Tests: Core/Core/View/Base/Webview/Models/ReadabilityInjection.swift#L10
@preconcurrency attribute on conformance to 'Equatable' has no effect
Tests: Core/Core/View/Base/Webview/Models/ReadabilityInjection.swift#L10
@preconcurrency attribute on conformance to 'Identifiable' has no effect
Tests: Core/Core/View/Base/Webview/Models/AccessibilityInjection.swift#L13
@preconcurrency attribute on conformance to 'Equatable' has no effect
Tests: Core/Core/View/Base/Webview/Models/AccessibilityInjection.swift#L13
@preconcurrency attribute on conformance to 'Identifiable' has no effect
Tests: Core/Core/View/Base/Webview/WebViewHTML.swift#L85
instance method 'webView(_:decidePolicyFor:decisionHandler:)' nearly matches optional requirement 'webView(_:decidePolicyFor:decisionHandler:)' of protocol 'WKNavigationDelegate'
Tests: Core/Core/View/Base/Webview/WebViewHTML.swift#L85
instance method 'webView(_:decidePolicyFor:decisionHandler:)' nearly matches optional requirement 'webView(_:decidePolicyFor:decisionHandler:)' of protocol 'WKNavigationDelegate'
Tests: Core/Core/Network/OfflineSyncManager.swift#L58
consider using asynchronous alternative function
Tests: Core/Core/Network/OfflineSyncManager.swift#L62
consider using asynchronous alternative function
Tests: Core/Core/View/Base/Webview/WebView.swift#L118
instance method 'webView(_:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:completionHandler:)' nearly matches optional requirement 'webView(_:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:completionHandler:)' of protocol 'WKUIDelegate'