Skip to content

Commit

Permalink
Merge branch 'main' into invitation-codes
Browse files Browse the repository at this point in the history
  • Loading branch information
PSchmiedmayer authored May 31, 2024
2 parents c106269 + f05c859 commit 2dfbe80
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,12 @@ jobs:
setupfirebaseemulator: true
path: Tests/UITests
customcommand: |
firebase emulators:exec 'set -o pipefail && xcodebuild test -project UITests.xcodeproj -scheme TestApp -destination "platform=iOS Simulator,name=iPhone 15 Pro" -resultBundlePath UITests.xcresult -derivedDataPath ".derivedData" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcpretty'
firebase emulators:exec 'set -o pipefail && xcodebuild test -project UITests.xcodeproj -scheme TestApp -destination "platform=iOS Simulator,name=iPhone 15 Pro" -resultBundlePath UITests.xcresult -derivedDataPath ".derivedData" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcbeautify'
uploadcoveragereport:
name: Upload Coverage Report
needs: [buildandtest, buildandtestuitests]
uses: StanfordSpezi/.github/.github/workflows/create-and-upload-coverage-report.yml@v2
with:
coveragereports: SpeziFirebase-Package.xcresult UITests.xcresult
secrets:
token: ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public actor FirestoreAccountStorage: Module, AccountStorageConstraint {
switch result {
case let .success(data):
try await userDocument(for: identifier.accountId)
.setData(data)
.setData(data, merge: true)
case let .failure(error):
throw error
}
Expand Down

0 comments on commit 2dfbe80

Please sign in to comment.