Skip to content

Add certificate to fix unit test #291

Add certificate to fix unit test

Add certificate to fix unit test #291

Triggered via pull request May 7, 2024 14:25
Status Failure
Total duration 7m 48s
Artifacts

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 12 warnings
Format
Process completed with exit code 1.
Tests: Tests/UBFoundationTests/Cron/CronJobTests.swift#L62
testCronChangeExecutionBlock, Asynchronous wait failed: Exceeded timeout of 1.2 seconds, with unfulfilled expectations: "Cron test".
Tests: Tests/UBFoundationTests/Networking/UBSessionTests.swift#L44
testRedirection, Asynchronous wait failed: Exceeded timeout of 30 seconds, with unfulfilled expectations: "s".
Tests
Tests Failed: 2 failed, 0 skipped, 166 total (148.005 seconds)
Tests
Process completed with exit code 1.
Format
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Format
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Tests: Sources/UBFoundation/Networking/Networking+URLSession.swift#L11
sendability of function types in instance method 'reset(completionHandler:)' does not match requirement in protocol 'UBURLSessionProtocol'
Tests: Sources/UBFoundation/Networking/BaseCachingLogic.swift#L141
value 'metrics' was defined but never used; consider replacing with boolean test
Tests: Sources/UBFoundation/Networking/BaseCachingLogic.swift#L256
immutable value 'responseDate' was never used; consider replacing with '_' or removing it
Tests: Sources/UBFoundation/Storage/UBKeychain/UBKeychainAccessibility.swift#L96
'kSecAttrAccessibleAlways' was deprecated in iOS 12.0: Use an accessibility level that provides some user protection, such as kSecAttrAccessibleAfterFirstUnlock
Tests: Sources/UBFoundation/Storage/UBKeychain/UBKeychainAccessibility.swift#L106
'kSecAttrAccessibleAlwaysThisDeviceOnly' was deprecated in iOS 12.0: Use an accessibility level that provides some user protection, such as kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly
Tests: Sources/UBFoundation/Storage/UBKeychain/UBKeychainAccessibility.swift#L144
'kSecAttrAccessibleAlways' was deprecated in iOS 12.0: Use an accessibility level that provides some user protection, such as kSecAttrAccessibleAfterFirstUnlock
Tests: Sources/UBFoundation/Storage/UBKeychain/UBKeychainAccessibility.swift#L158
'kSecAttrAccessibleAlwaysThisDeviceOnly' was deprecated in iOS 12.0: Use an accessibility level that provides some user protection, such as kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly
Tests: Sources/UBFoundation/Networking/Networking+URLSession.swift#L11
sendability of function types in instance method 'reset(completionHandler:)' does not match requirement in protocol 'UBURLSessionProtocol'