Skip to content

Allow to dynamically load and unload Modules #657

Allow to dynamically load and unload Modules

Allow to dynamically load and unload Modules #657

Triggered via pull request June 4, 2024 14:57
Status Success
Total duration 9m 23s
Artifacts 7

build-and-test.yml

on: pull_request
Build and Test Swift Package iOS  /  Test using xcodebuild or run fastlane
1m 20s
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane
Build and Test Swift Package watchOS  /  Test using xcodebuild or run fastlane
1m 30s
Build and Test Swift Package watchOS / Test using xcodebuild or run fastlane
Build and Test Swift Package visionOS  /  Test using xcodebuild or run fastlane
1m 42s
Build and Test Swift Package visionOS / Test using xcodebuild or run fastlane
Build and Test Swift Package tvOS  /  Test using xcodebuild or run fastlane
1m 27s
Build and Test Swift Package tvOS / Test using xcodebuild or run fastlane
Build and Test Swift Package macOS  /  Test using xcodebuild or run fastlane
1m 14s
Build and Test Swift Package macOS / Test using xcodebuild or run fastlane
Build and Test UI Tests iOS  /  Test using xcodebuild or run fastlane
2m 49s
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane
Build and Test UI Tests visionOS  /  Test using xcodebuild or run fastlane
2m 6s
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane
Upload Coverage Report  /  ...  /  Create and upload coverage report
4m 2s
Upload Coverage Report / Create and upload coverage report / Create and upload coverage report
Fit to window
Zoom out
Zoom in

Annotations

45 warnings and 7 notices
Build and Test Swift Package macOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi+Preview.swift#L63
'lifecycleHandler' is deprecated: Please use the new @Application property wrapper to access delegate functionality. Otherwise use the SwiftUI onReceive(_:perform:) for UI related notifications.
Build and Test Swift Package macOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi+Preview.swift#L63
initialization of immutable value 'lifecycleHandlers' was never used; consider replacing with assignment to '_' or removing it
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi+Preview.swift#L63
'lifecycleHandler' is deprecated: Please use the new @Application property wrapper to access delegate functionality. Otherwise use the SwiftUI onReceive(_:perform:) for UI related notifications.
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi+Preview.swift#L69
'willFinishLaunchingWithOptions(_:launchOptions:)' is deprecated: Please use the new @Application(\.launchOptions) property wrapper within your Module to access launchOptions in a platform independent way.
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane: Sources/XCTSpezi/DependencyResolution.swift#L36
'lifecycleHandler' is deprecated: Please use the new @Application property wrapper to access delegate functionality. Otherwise use the SwiftUI onReceive(_:perform:) for UI related notifications.
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane: Sources/XCTSpezi/DependencyResolution.swift#L36
'willFinishLaunchingWithOptions(_:launchOptions:)' is deprecated: Please use the new @Application(\.launchOptions) property wrapper within your Module to access launchOptions in a platform independent way.
Build and Test Swift Package tvOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi+Preview.swift#L63
'lifecycleHandler' is deprecated: Please use the new @Application property wrapper to access delegate functionality. Otherwise use the SwiftUI onReceive(_:perform:) for UI related notifications.
Build and Test Swift Package tvOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi+Preview.swift#L63
initialization of immutable value 'lifecycleHandlers' was never used; consider replacing with assignment to '_' or removing it
Build and Test Swift Package watchOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi+Preview.swift#L63
'lifecycleHandler' is deprecated: Please use the new @Application property wrapper to access delegate functionality. Otherwise use the SwiftUI onReceive(_:perform:) for UI related notifications.
Build and Test Swift Package watchOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi+Preview.swift#L63
initialization of immutable value 'lifecycleHandlers' was never used; consider replacing with assignment to '_' or removing it
Build and Test Swift Package visionOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi+Preview.swift#L63
'lifecycleHandler' is deprecated: Please use the new @Application property wrapper to access delegate functionality. Otherwise use the SwiftUI onReceive(_:perform:) for UI related notifications.
Build and Test Swift Package visionOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi+Preview.swift#L69
'willFinishLaunchingWithOptions(_:launchOptions:)' is deprecated: Please use the new @Application(\.launchOptions) property wrapper within your Module to access launchOptions in a platform independent way.
Build and Test Swift Package visionOS / Test using xcodebuild or run fastlane: Sources/XCTSpezi/DependencyResolution.swift#L36
'lifecycleHandler' is deprecated: Please use the new @Application property wrapper to access delegate functionality. Otherwise use the SwiftUI onReceive(_:perform:) for UI related notifications.
Build and Test Swift Package visionOS / Test using xcodebuild or run fastlane: Sources/XCTSpezi/DependencyResolution.swift#L36
'willFinishLaunchingWithOptions(_:launchOptions:)' is deprecated: Please use the new @Application(\.launchOptions) property wrapper within your Module to access launchOptions in a platform independent way.
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi+Preview.swift#L63
'lifecycleHandler' is deprecated: Please use the new @Application property wrapper to access delegate functionality. Otherwise use the SwiftUI onReceive(_:perform:) for UI related notifications.
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi+Preview.swift#L69
'willFinishLaunchingWithOptions(_:launchOptions:)' is deprecated: Please use the new @Application(\.launchOptions) property wrapper within your Module to access launchOptions in a platform independent way.
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane: Sources/XCTSpezi/DependencyResolution.swift#L36
'lifecycleHandler' is deprecated: Please use the new @Application property wrapper to access delegate functionality. Otherwise use the SwiftUI onReceive(_:perform:) for UI related notifications.
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane: Sources/XCTSpezi/DependencyResolution.swift#L36
'willFinishLaunchingWithOptions(_:launchOptions:)' is deprecated: Please use the new @Application(\.launchOptions) property wrapper within your Module to access launchOptions in a platform independent way.
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane: Tests/UITests/TestApp/LifecycleHandler/LifecycleHandlerTestModule.swift#L46
'LifecycleHandler' is deprecated: Please use the new @Application property wrapper to access delegate functionality. Otherwise use the SwiftUI onReceive(_:perform:) for UI related notifications.
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane: Tests/UITests/TestApp/ModelTests/ModuleWithModel.swift#L14
static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane: Tests/UITests/TestApp/ModelTests/ModuleWithModel.swift#L14
static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane: Tests/UITests/TestApp/LifecycleHandler/LifecycleHandlerTestModule.swift#L46
'LifecycleHandler' is deprecated: Please use the new @Application property wrapper to access delegate functionality. Otherwise use the SwiftUI onReceive(_:perform:) for UI related notifications.
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane: Tests/SpeziTests/DependenciesTests/DependencyTests.swift#L126
Todo Violation: TODOs should be resolved (test updated view modifiers) (todo)
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane: Sources/Spezi/Dependencies/Property/DependencyPropertyWrapper.swift#L36
Missing Docs Violation: public declarations should be documented (missing_docs)
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi+Preview.swift#L63
'lifecycleHandler' is deprecated: Please use the new @Application property wrapper to access delegate functionality. Otherwise use the SwiftUI onReceive(_:perform:) for UI related notifications.
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi+Preview.swift#L69
'willFinishLaunchingWithOptions(_:launchOptions:)' is deprecated: Please use the new @Application(\.launchOptions) property wrapper within your Module to access launchOptions in a platform independent way.
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane: Sources/XCTSpezi/DependencyResolution.swift#L36
'lifecycleHandler' is deprecated: Please use the new @Application property wrapper to access delegate functionality. Otherwise use the SwiftUI onReceive(_:perform:) for UI related notifications.
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane: Sources/XCTSpezi/DependencyResolution.swift#L36
'willFinishLaunchingWithOptions(_:launchOptions:)' is deprecated: Please use the new @Application(\.launchOptions) property wrapper within your Module to access launchOptions in a platform independent way.
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane: Tests/UITests/TestApp/LifecycleHandler/LifecycleHandlerTestModule.swift#L46
'LifecycleHandler' is deprecated: Please use the new @Application property wrapper to access delegate functionality. Otherwise use the SwiftUI onReceive(_:perform:) for UI related notifications.
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane: Tests/UITests/TestApp/ModelTests/ModuleWithModel.swift#L14
static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane: Tests/UITests/TestApp/LifecycleHandler/LifecycleHandlerTestModule.swift#L46
'LifecycleHandler' is deprecated: Please use the new @Application property wrapper to access delegate functionality. Otherwise use the SwiftUI onReceive(_:perform:) for UI related notifications.
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane: Tests/UITests/TestApp/ModelTests/ModuleWithModel.swift#L14
static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane: Sources/Spezi/Dependencies/Property/DependencyPropertyWrapper.swift#L36
Missing Docs Violation: public declarations should be documented (missing_docs)
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi.swift#L204
Todo Violation: TODOs should be resolved (do we really want to support t...) (todo)
Upload Coverage Report / Create and upload coverage report / Create and upload coverage report
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build and Test Swift Package macOS / Test using xcodebuild or run fastlane
Tests Passed: 0 failed, 0 skipped, 38 total (2.819 seconds)
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane
Tests Passed: 0 failed, 0 skipped, 38 total (2.846 seconds)
Build and Test Swift Package tvOS / Test using xcodebuild or run fastlane
Tests Passed: 0 failed, 0 skipped, 38 total (2.886 seconds)
Build and Test Swift Package watchOS / Test using xcodebuild or run fastlane
Tests Passed: 0 failed, 0 skipped, 38 total (2.874 seconds)
Build and Test Swift Package visionOS / Test using xcodebuild or run fastlane
Tests Passed: 0 failed, 0 skipped, 38 total (2.958 seconds)
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane
Tests Passed: 0 failed, 0 skipped, 3 total (26.849 seconds)
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane
Tests Passed: 0 failed, 0 skipped, 3 total (24.361 seconds)

Artifacts

Produced during runtime
Name Size
Spezi-Package-iOS.xcresult Expired
106 KB
Spezi-Package-macOS.xcresult Expired
102 KB
Spezi-Package-tvOS.xcresult Expired
103 KB
Spezi-Package-visionOS.xcresult Expired
105 KB
Spezi-Package-watchOS.xcresult Expired
105 KB
TestApp-iOS.xcresult Expired
184 KB
TestApp-visionOS.xcresult Expired
184 KB