Skip to content

Develop to main. Release v2 #1116

Develop to main. Release v2

Develop to main. Release v2 #1116

Triggered via pull request November 7, 2024 14:00
Status Failure
Total duration 24m 37s
Artifacts 1

unit_tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 13 warnings
Tests: Core/CoreTests/DownloadManager/DownloadManagerTests.swift#L273
testGetDownloadTasks_ShouldReturnAllTasks, XCTAssertTrue failed - Expected: exactly 1 invocations of `.getDownloadDataTasks()`, but was: 0.
Tests
Process completed with exit code 1.
Tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Tests
git-lfs 3.5.1 is already installed and up-to-date. To reinstall 3.5.1, run: brew reinstall git-lfs
Tests: Discovery/Discovery.xcodeproj#L1
tasks in 'Copy Headers' are delayed by unsandboxed script phases; set ENABLE_USER_SCRIPT_SANDBOXING=YES to enable sandboxing (in target 'Discovery' from project 'Discovery')
Tests
Run script build phase 'SwiftLint' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'OpenEdX' from project 'OpenEdX')
Tests: Core/Core/AvoidingHelpers/Scroller/DismissKeyboardTapHandler.swift#L17
'keyWindow' was deprecated in iOS 13.0: Should not be used for applications that support multiple scenes as it returns a key window across all connected scenes
Tests: Core/Core/AvoidingHelpers/Scroller/DismissKeyboardTapHandler.swift#L23
'keyWindow' was deprecated in iOS 13.0: Should not be used for applications that support multiple scenes as it returns a key window across all connected scenes
Tests: Core/Core/View/Base/Webview/WebView.swift#L12
add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WebKit'
Tests: Core/Core/View/Base/Webview/WebViewHTML.swift#L10
add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WebKit'
Tests: Core/Core/Network/RequestInterceptor.swift#L47
variable 'mutableUserAgent' was never mutated; consider changing to 'let' constant
Tests: Core/Core/View/Base/Webview/WebViewHTML.swift#L10
add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WebKit'
Tests: Core/Core/Extensions/DateExtension.swift#L238
initialization of immutable value 'days' was never used; consider replacing with assignment to '_' or removing it
Tests: Core/Core/AvoidingHelpers/Scroller/DismissKeyboardTapHandler.swift#L17
'keyWindow' was deprecated in iOS 13.0: Should not be used for applications that support multiple scenes as it returns a key window across all connected scenes
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "test-output". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
test-output Expired
35.1 KB