Skip to content

SampleType.workout #196

SampleType.workout

SampleType.workout #196

Triggered via pull request February 19, 2025 02:22
Status Failure
Total duration 2m 6s
Artifacts 2

build-and-test.yml

on: pull_request
Build and Test Swift Package  /  Test using xcodebuild or run fastlane
2m 0s
Build and Test Swift Package / Test using xcodebuild or run fastlane
Build and Test UI Tests  /  Test using xcodebuild or run fastlane
1m 27s
Build and Test UI Tests / Test using xcodebuild or run fastlane
Upload Coverage Report  /  ...  /  Create and upload coverage report
Upload Coverage Report / Create and upload coverage report / Create and upload coverage report
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 2 warnings
Build and Test UI Tests / Test using xcodebuild or run fastlane: Tests/SpeziHealthKitTests/HealthDataCollectorRegistrationTests.swift#L44
Line Length Violation: Line should be 150 characters or less; currently it has 205 characters (line_length)
Build and Test UI Tests / Test using xcodebuild or run fastlane
Process completed with exit code 65.
Build and Test Swift Package / Test using xcodebuild or run fastlane: Tests/SpeziHealthKitTests/HealthDataCollectorRegistrationTests.swift#L43
testCollectSamplesRegistration, XCTAssertEqual failed: ("1") is not equal to ("2")
Build and Test Swift Package / Test using xcodebuild or run fastlane: Tests/SpeziHealthKitTests/HealthDataCollectorRegistrationTests.swift#L44
testCollectSamplesRegistration, XCTAssertEqual failed: ("["Heart Rate"]") is not equal to ("["Heart Rate", "Blood Oxygen", "Step Count", "Height", "Body Mass"]")
Build and Test Swift Package / Test using xcodebuild or run fastlane: Tests/SpeziHealthKitTests/HealthDataCollectorRegistrationTests.swift#L46
testCollectSamplesRegistration, XCTAssertEqual failed: ("1") is not equal to ("0")
Build and Test Swift Package / Test using xcodebuild or run fastlane: Tests/SpeziHealthKitTests/HealthDataCollectorRegistrationTests.swift#L74
testCollectSamplesRegistration, XCTAssertEqual failed: ("6") is not equal to ("5")
Build and Test Swift Package / Test using xcodebuild or run fastlane
Process completed with exit code 65.
Build and Test UI Tests / Test using xcodebuild or run fastlane: Sources/SpeziHealthKitUI/HealthChart/HealthChart.swift#L176
value 'date' was defined but never used; consider replacing with boolean test
Build and Test Swift Package / Test using xcodebuild or run fastlane: Sources/SpeziHealthKitUI/HealthChart/HealthChart.swift#L176
value 'date' was defined but never used; consider replacing with boolean test

Artifacts

Produced during runtime
Name Size
SpeziHealthKit-Package.xcresult
50.5 MB
TestApp.xcresult
176 KB