Skip to content

SampleType.workout #200

SampleType.workout

SampleType.workout #200

Triggered via pull request February 19, 2025 16:00
Status Failure
Total duration 2m 40s
Artifacts 2

build-and-test.yml

on: pull_request
Build and Test Swift Package  /  Test using xcodebuild or run fastlane
2m 32s
Build and Test Swift Package / Test using xcodebuild or run fastlane
Build and Test UI Tests  /  Test using xcodebuild or run fastlane
1m 39s
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#L47
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#L46
testCollectSamplesRegistration, XCTAssertEqual failed: ("1") is not equal to ("2")
Build and Test Swift Package / Test using xcodebuild or run fastlane: Tests/SpeziHealthKitTests/HealthDataCollectorRegistrationTests.swift#L47
testCollectSamplesRegistration, XCTAssertEqual failed: ("["Step Count"]") is not equal to ("["Blood Oxygen", "Body Mass", "Height", "Heart Rate", "Step Count"]")
Build and Test Swift Package / Test using xcodebuild or run fastlane: Tests/SpeziHealthKitTests/HealthDataCollectorRegistrationTests.swift#L48
testCollectSamplesRegistration, XCTAssertEqual failed: ("1") is not equal to ("0")
Build and Test Swift Package / Test using xcodebuild or run fastlane: Tests/SpeziHealthKitTests/HealthDataCollectorRegistrationTests.swift#L77
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
52 MB
TestApp.xcresult
175 KB