Skip to content

Commit f085dcf

Browse files
authored
add codecov for all OS's (#245)
1 parent 5451e5c commit f085dcf

File tree

6 files changed

+10
-4
lines changed

6 files changed

+10
-4
lines changed

.github/workflows/ci.yml

+2
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ jobs:
2929
security set-keychain-settings -lut 7200 temporary
3030
- name: Build-Test
3131
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -workspace Parse.xcworkspace -scheme ParseSwift\ \(macOS\) -destination platform\=macOS test | xcpretty
32+
- name: Send codecov
33+
run: bash <(curl https://codecov.io/bash)
3234

3335
xcode-test-tvos:
3436
runs-on: macos-latest

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* _Contributing to this repo? Add info about your change here to be included in the next release_
66

77
### 1.10.0
8-
[Full Changelog](https://github.com/parse-community/Parse-Swift/compare/1.9.9...1.10.0)
8+
[Full Changelog](https://github.com/parse-community/Parse-Swift/compare/1.9.10...1.10.0)
99

1010
__Improvements__
1111
- (Breaking Change) Provide ParseObject property, emptyObject, that makes it easy to send only modified keys to the server. This change "might" be breaking depending on your implementation as it requires ParseObjects to now have an empty initializer, init() ([#243](https://github.com/parse-community/Parse-Swift/pull/243)), thanks to [Corey Baker](https://github.com/cbaker6).

ParseSwift.xcodeproj/xcshareddata/xcschemes/ParseSwift (macOS).xcscheme

+2-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
buildConfiguration = "Debug"
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29-
shouldUseLaunchSchemeArgsEnv = "YES">
29+
shouldUseLaunchSchemeArgsEnv = "YES"
30+
codeCoverageEnabled = "YES">
3031
<Testables>
3132
<TestableReference
3233
skipped = "NO"

ParseSwift.xcodeproj/xcshareddata/xcschemes/ParseSwift (tvOS).xcscheme

+2-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
buildConfiguration = "Debug"
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29-
shouldUseLaunchSchemeArgsEnv = "YES">
29+
shouldUseLaunchSchemeArgsEnv = "YES"
30+
codeCoverageEnabled = "YES">
3031
<Testables>
3132
<TestableReference
3233
skipped = "NO"

ParseSwift.xcodeproj/xcshareddata/xcschemes/ParseSwift (watchOS).xcscheme

+2-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
buildConfiguration = "Debug"
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29-
shouldUseLaunchSchemeArgsEnv = "YES">
29+
shouldUseLaunchSchemeArgsEnv = "YES"
30+
codeCoverageEnabled = "YES">
3031
<Testables>
3132
</Testables>
3233
</TestAction>

Tests/ParseSwiftTests/ParseUserTests.swift

+1
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,7 @@ class ParseUserTests: XCTestCase { // swiftlint:disable:this type_body_length
338338
guard let keychainUser: CurrentUserContainer<BaseParseUser>
339339
= try? KeychainStore.shared.get(valueFor: ParseStorage.Keys.currentUser) else {
340340
XCTFail("Should get object from Keychain")
341+
expectation1.fulfill()
341342
return
342343
}
343344
XCTAssertEqual(keychainUser.currentUser?.updatedAt, fetchedUpdatedAt)

0 commit comments

Comments
 (0)