Commit Graph
542 Commits
Author SHA1 Message Date
Chen Liang fdeb13df42 Reuse the content view from other test app in the new SwiftUI test app (#9176) 2022-01-10 14:34:06 -08:00
Gran d068ba5614 Update endpoint of the Metrics Service (#9181)
Update endpoint of the Metrics Service
2022-01-07 15:51:21 -08:00
Gran 462f70d98f Update size measurement doc (#9179)
Add the description of explicit platform, iOS, to the doc.
2022-01-07 15:40:46 -08:00
Gran 7c6751496e Enable checking diff on fork. (#9177) 2022-01-07 14:13:08 -08:00
Gran f8e47afc5b Set up multi jobs for spec testing. (#9148)
* Set up multi jobs for spec testing.
2022-01-04 13:21:45 -08:00
Chen Liang 902adf8b5b Add Swift tests for Messaging (#9135) 2021-12-29 13:12:51 -08:00
Paul Beusterien 526f8ca35f Merge branch 'codable-refactor3' 2021-12-16 12:13:03 -08:00
a-25 ea6bf3aae9 Use GitHub buildcache #8052 (#9055) 2021-12-15 07:32:09 -08:00
Paul Beusterien ac4df1f15a Add CI for Functions Codable and address review feedback 2021-12-14 17:40:09 -08:00
Morten Bek Ditlevsen e9252d29dd Make Shared Firebase Codable from RTDB Codable 2021-12-14 17:40:09 -08:00
Nick Cooke 5bba5242e2 Update remote generate_access_token script (#9089)
* Update access token script

* Revert "Update access token script"

This reverts commit 13e1e2c048.

* trip CI

* Run CI on Xcode 13.2

* Update generate_access_token.sh

* Use Xcode 13.1. This should work.

* trip remote config CI

* Update setup_bundler.sh

* Revert "Revert "Update access token script""

This reverts commit b60ef5bab6.

* Revert "trip remote config CI"

This reverts commit 982714b59a.
2021-12-14 19:58:57 -05:00
Nick Cooke 7fd97ea3e5 Update setup_bundler.sh (#9098)
* Update setup_bundler.sh

* Trip CI

* Trip CI without style violation

* Update Gemfile
2021-12-14 18:53:32 -05:00
Nick Cooke 0e855f4ef6 Edit all SPM test schemes (#9085) 2021-12-13 10:21:31 -05:00
Nick Cooke e5ec87b929 Make CoreUnit scheme buildable (#9081) 2021-12-11 19:31:57 -05:00
Paul Beusterien f023aa5b5c Port Functions integration tests to Swift (#8957) 2021-11-11 08:34:26 -08:00
Gran 8256dde2a0 Add doc for binary size measurement. (#8930)
* Add doc for binary size measurement.
2021-11-09 09:16:58 -08:00
Paul Beusterien e74765ae08 Canonical directory structure for Functions (#8918) 2021-11-02 16:38:55 -07:00
Gran b3c83ef294 Add sdk size measurement (#8879)
* Add Analytics and AppDistribution to size measurement.
2021-10-28 17:16:11 -07:00
Gran aab84c8320 Add Crashlytics , AppCheck and Installation to size measurement. (#8873) 2021-10-27 11:55:28 -07:00
Gran 121f56e9ac Update the type to Cocoapods (#8846)
* Update the type to Cocoapods
We potentially might have framework and other size measurements in the future. Specify it in order to be differentiated from other type of sizes, e.g. framework.
2021-10-21 16:24:27 -07:00
Gran ef433a06df Add specsstaging source to size measurement (#8843) 2021-10-21 10:18:00 -07:00
Paul Beusterien 6604ffa9c4 Update targets and CI for 8.9.0 (#8830) 2021-10-20 10:32:05 -07:00
Paul Beusterien 73d4b6f3c5 pod update for quickstart testing (#8811) 2021-10-15 08:45:54 -07:00
Paul Beusterien 10e364c54b Restore RC SwiftAPI Tests (#8792) 2021-10-12 13:39:45 -07:00
Paul Beusterien 33692eb578 Fix Remote Config Integration CI (#8774) 2021-10-11 07:38:51 -07:00
Sebastian Schmidt 697730ff12 Add AppCheck Interop for Firestore (#8749) 2021-10-08 08:58:08 -06:00
Paul Beusterien c7c0149351 Update to clang-format@13 (#8739) 2021-10-04 07:52:21 -07:00
Paul Beusterien d8ea6caafb Update CI to Xcode 13RC (#8676) 2021-09-21 16:23:35 -07:00
Nick Cooke 49a72594e7 Remove potentially unnecessary secret (#8644) 2021-09-15 10:08:44 -04:00
Nick Cooke 4ab5dc5f19 GHA Project Maintenance (#8632)
* Update storage secrets

* Rotate FIREGSignInInfo.h

* Rotate Auth credentials

* Add script for encrypting secrets

* Trigger auth GHA

* Update auth.yml

* Update encrypt_gha_secret.sh
2021-09-10 13:31:40 -04:00
Gran e2802b50b5 Post binary size reports in presubmits. (#8587)
* Post binary size reports in presubmits.

* Compare to the targeted branch head.
2021-09-03 09:57:27 -07:00
Paul Beusterien 2f972249c5 Fix GoogleAppMeasurement SPM CI (#8606) 2021-08-31 18:10:55 -07:00
Gran 1a25a10f8d Update type of binary size request (#8585)
This is a type stored in the Metrics Service. The `type` will be helpful for filter data.
2021-08-28 10:03:43 -07:00
Gran 77dae88bb9 Update binary size tool to connect to the Metrics Service in postsubmits. (#8550)
Update binary size tool to connect to the Metrics Service.
Update condition and set postsubmit flag
2021-08-26 15:28:01 -07:00
Paul Beusterien 2e58b57181 Add instructions for one-off CI runs with alternative Xcode versions (#8569) 2021-08-25 14:38:32 -07:00
Paul Beusterien 6751623a44 Update quickstart tests based on quickstart-ios/issues/1260 (#8568) 2021-08-24 14:53:58 -07:00
Paul Beusterien 66a7f2333c Remove pod_lib_lint script workaround (#8557) 2021-08-20 12:04:07 -07:00
Gran 0b081a3054 Create Binary Size Report Generation (#8539)
Create Binary Size Report Generation
This report is prepared for API request to the Metrics Service.
2021-08-17 13:17:52 -07:00
Jesus CrespoandPaul Beusterien 52b3560eab Add functions spm unit and build tests (#8499)
* Update FunctionsAPITests.swift with watchos and Task

* Add watchos deployment target to Functions podspec

* Add spm Functions unit and build tests

* Update travis.yml for functions and watchos

* Disable failing travis test, passes locally, wait for Xcode 12.5 on GHA

* Changelog

* Delete unused files

Co-authored-by: Paul Beusterien <paulbeusterien@google.com>
2021-08-16 19:08:55 -05:00
Jeremy JiangandPaul Beusterien ec193d0150 Add Performance Support for Swift Package Manager (#8412)
* Create NanoPb code generation scripts (#8336)

* Create NanoPb code generation scripts

* Fix style and add README

* Fix copyright

* Update proto_generator.py

* Update README.md

* Create nanopb options file. (#8371)

* Create NanoPb code generation scripts

* Fix style and add README

* Fix copyright

* Update perf_metrics.options

* Update options with map

* Add generated proto files.

* Update imports.

* Convert Objective-C Classes to Nanopb (#8387)

* Convert all traces to nanopb

* Refactor for loop.

* Add set has_application_info to true.

* Incorporated comments.

* Fix style

* Create NanoPb code generation scripts (#8336)

* Create NanoPb code generation scripts

* Fix style and add README

* Fix copyright

* Update proto_generator.py

* Update README.md

* Create nanopb options file. (#8371)

* Create NanoPb code generation scripts

* Fix style and add README

* Fix copyright

* Update perf_metrics.options

* Update options with map

* Add generated proto files.

* Update imports.

* Convert Objective-C Classes to Nanopb (#8387)

* Convert all traces to nanopb

* Refactor for loop.

* Add set has_application_info to true.

* Incorporated comments.

* Fix style

* Fix style

* Convert nanopb struct to GDTCOREventDataObject and update the source code to use nanopb struct. (#8439)

* Convert all traces to nanopb

* Refactor for loop.

* WIP: nanopb conversion in FPRClient and FPREvent

* Update FPRClientTest.m

* Update FPRClient.m

* Update FPRClientTest.m

* Add set has_application_info to true.

* Remove proto imports.

* Set has_fields to be true in FPRTestUtils.m

* Completed GDTEvent conversion.

* Fix sampler tests.

* Fix style

* Refactor nanopb struct setter

* Fix style

* Fix pod-lib-lint failures.

* Update FPRClient with decoded string

* Set some "_has" fields to true.

* Add prefix to extern methods.

* Fix style.

* Update FPRClient to use trace.name without FPRDecodeString

* Fix style

* Incorporate comments.

* Integrate Performance with SPM (#8476)

* Convert all traces to nanopb

* Refactor for loop.

* WIP: nanopb conversion in FPRClient and FPREvent

* Update FPRClientTest.m

* Update FPRClient.m

* Update FPRClientTest.m

* Add set has_application_info to true.

* Remove proto imports.

* Set has_fields to be true in FPRTestUtils.m

* Completed GDTEvent conversion.

* Fix sampler tests.

* Fix style

* Refactor nanopb struct setter

* Fix style

* Fix pod-lib-lint failures.

* Update FPRClient with decoded string

* Set some "_has" fields to true.

* Add prefix to extern methods.

* Fix style.

* Update FPRClient to use trace.name without FPRDecodeString

* Fix style

* Update Package.swift

* Update Package.swift

* Update Package.swift

* Made SDK and unit tests buildable.

* Made all unit tests passing.

* Update keyWindow style.

* Add Performance to workflow.

* Update FPRUIViewControllerInstrument.h

* Incorporate comments.

* Add Performance to SwiftPMTests.

* Update style.

* Fix Unit tests and update workflow.

* Add FirebasePerformance wrapper

* Update import statement.

* Update style.

* Update performance.yml

* Create PerformanceUnit.xcscheme

* Update objc-module.m

* Update objc-module.m

* Updae objc-header.m

* Update objc-header.m

* Incorporate feedback.

* Update objc-header.m

* Organize folder structure to fix the spm tests.

* Update public import path

* Delete xcodebuild.log

* Update workflow files

* Fix failing swift-test for Perf SPM (#8507)

* Fix UIKit import

* Update FPRNetworkTraceTest.m

* Exclude TARGET_OS_MACCATALYST from objc header test

* Update main.swift

* Update main.swift

Co-authored-by: Paul Beusterien <paulbeusterien@google.com>

* Remove Protobuf dependency  (#8511)

* Remove protobuf dependency

* Update FirebasePerformance.podspec

* Incorporate comments.

* Update UIKit import

Co-authored-by: Paul Beusterien <paulbeusterien@google.com>
2021-08-10 13:41:18 -04:00
Maksym Malyhin 9a3bcfd904 Configure test keychain for macOS tests (#8494)
* Configure test keychain for macOS tests

* Check if the tests fail without the test keychain

* Disable unrelated tests temporary

* fix platform

* fix

* Test app check

* Apply fix to FCM and App Check

* Fix FCM GHA

* Line break

* Set test keychain as login keychain

* Typo

* Revert setting login keychain

* Disable keychain auto-locking
2021-08-04 21:48:15 -04:00
Paul Beusterien 0ff3baaaae Add DatabaseUnitSwift scheme and add it to GHA (#8465) 2021-07-30 09:15:53 -07:00
wu-hui a0f054e51b Add script to check for absl reference from Firestore/core/api (#8309)
* Add script to check for absl reference from Firestore/core/api

* Feedback

* More feedback
2021-07-27 09:56:53 -04:00
Paul Beusterien d550a72e81 Use GoogleAppMeasurement main branch instead of release tag for CI (#8426) 2021-07-23 08:34:51 -07:00
Gran 04ab074265 Update patterns to avoid triggering testing (#8419)
* Update patterns to avoid triggering testing

* Update code_coverage_file_list.json
2021-07-20 14:40:45 -07:00
Paul Beusterien d287788cf7 Fix tvOS SPM tests (#8403) 2021-07-20 09:11:24 -07:00
Paul Beusterien c7ddad3833 Update more workflows for new crashlytics qs location (#8338) 2021-07-05 17:00:07 -07:00
Morgan Chen c6cc858ddc update crashlytics qs test with new dir (#8328)
* update crashlytics qs test with new dir

* fix bad path

* get rid of firebase 7 define
2021-07-02 09:37:48 -07:00
Paul Beusterien 4ef6248e77 Fix Swift version for zip tests (#8292) 2021-06-23 15:46:46 -07:00
Gran a1ce62a220 Fix One Line Coverage Report Post (#8229) 2021-06-10 12:13:14 -07:00