Commit Graph
93 Commits
Author SHA1 Message Date
Paul Beusterien b7ab23b7c0 SPM test infra fixes (#6427) 2020-09-10 07:32:57 -07:00
Paul Beusterien 40b805bccd Fix RemoteConfig sample (#6113) 2020-07-23 10:01:02 -07:00
Paul Beusterien e03a8d91a0 Consolidate GDT and GDTCCT to a single pod (#5902) 2020-06-24 14:09:46 -07:00
Paul Beusterien 66a44cb4f8 Migrate RTDB to GHA (#5681) 2020-05-27 09:29:27 -07:00
Paul Beusterien cc233d68d8 Fake Remote Config console for testing (#5633) 2020-05-26 16:14:24 -07:00
Gil e9135a6f41 Fix xcresult log output in Travis (#5645)
* Remove code folding and raw log output

Code folds were interacting poorly with Travis and causing output to be
lost. This was causing xcresult log output to be lost.

Travis terminates jobs that exceed its maximum log output length, so
showing raw log output could cause failing jobs to be killed for
unrelated reasons.

* Fix xcresult_logs when run against non-Run configurations

The leading part of the name can be "Run" or "Test" or others.

* Add support for Xcode 10 xcreult bundles
2020-05-21 09:10:38 -07:00
Sebastian Schmidt 885f296f3b Update Database tests to run against the emulator (#5650) 2020-05-20 23:12:10 -07:00
Paul Beusterien d82361409c Initial RC Swift API tests (#5602) 2020-05-13 18:00:34 -07:00
Paul Beusterien 670845ac1f Add Auth Swift API tests (#5517) 2020-05-04 18:37:07 -07:00
Doudou Nan a2fbd12168 Build GDTCCT watchOS test apps in GHA (#5495) 2020-04-29 11:58:54 -07:00
Paul Beusterien 68513286e3 Update nanopb to 0.3.9.5 (CocoaPods 1.30905.0) (#4264) 2020-04-27 17:09:59 -07:00
Chen Liang dabfd91dea Move messaging sample app to the new FirebaseMessaging folder (#5476) 2020-04-27 16:31:17 -07:00
Chen Liang f60992fba0 Fix messaging GHA failure (#5430) 2020-04-21 15:44:35 -07:00
Chen Liang 447e544264 add a token refresh integration test in messaging (#5358) 2020-04-15 11:39:34 -07:00
Chen Liang ed52d0d8f6 Add a new firebase messaging test app using swiftui (#5301) 2020-04-08 20:12:26 -07:00
Paul Beusterien df75e500b0 Migrate Auth to canonical directory structure (#5318) 2020-04-08 17:52:56 -07:00
Paul Beusterien 7593515f9e FirebasePod, SymbolCollision and Interop tests to GHA (#5273) 2020-04-03 10:36:24 -07:00
Paul Beusterien e7e4414e12 Add FirebaseStorageSwift to GHA CI (#5252) 2020-04-01 17:19:19 -07:00
Paul Beusterien 94262b37e5 Storage Integration Tests to Swift (#5197) 2020-03-27 15:51:32 -07:00
Paul Beusterien f23c230a4c Test Quickstarts in GHA (#5134) 2020-03-20 16:42:14 -07:00
Gil fb0fc07609 Remove setting CMAKE_BUILD_TYPE in CMakeLists.txt (#5027)
This really needs to be set on the command-line if it's to be effective,
and setting it here breaks downstream projects that include
firebase-ios-sdk as a subdirectory.
2020-03-05 15:30:11 -08:00
Gil fae5c43af2 Extract log output from xcodebuild runs after failures (#4867) 2020-02-12 15:42:08 -08:00
Gil 69d6ee794b Add a travis output filter (#4866)
* Use a travis-optimized output filter with xcpretty

* Capture and show raw xcodebuild log on failure
2020-02-10 10:26:39 -08:00
Gil 9d202ae761 Drop support for building Firestore with Xcode 8 (#4842) 2020-02-06 17:37:16 -08:00
Gil 36c29e4451 Prepare build scripts for building Firestore on GitHub Actions (#4764)
* Make build.sh cases match script argument order

* Allow install_rereqs to take command-line arguments

* Group Firestore rules together

* Make build.sh work on Linux too

* Invoke setup_bundler.sh from install_prereqs.sh

Also fix typos in setup_bundler.sh

* Get install_prereqs.sh to run on Linux

* Fix Xcode 8 version checks in install_prereqs.sh

* Ensure that PLATFORM is in the environment.
2020-01-29 15:34:58 -08:00
Paul Beusterien 6407cb03e0 Use GitHub Actions Secrets to run FirebaseStorage CI (#4726) 2020-01-22 17:57:00 -08:00
christibbs 48aa5ed5ee FIAM Consolidation (#4705)
* Move display SDK source and resources into FIAM SDK

* Change files prefixed with FID to be prefixed FIRIAM

* Restructure example apps in firebase-ios-sdk directory

* Fix directory structure for FIAM

* Move proto files into base directory

* Fix up proto files

* Move unit test files to Firebase/InAppMessaging/Tests

* Move FIRIAMSDKModeManagerTests and require app host in podspec

* Move sample apps to tests folder

* Add empty repo for FIAMDisplay that generates a warning

* Fix up functional tests app

* Fix up default UI test app

* Re-generate protos

* Add warning to remove display pod

* Remove display podspec from .travis.yml

* Remove trailing whitespace

* Fix import in test app

* Add changes to point to the default test app

* Wrap iOS version conditionals

* Add line in podspec about deprecation

* Delete whitespace in podspec

* Delete pods section in project file

* Update changelog with consolidation info

* Fix indentation in podspecs

* Fix some import issues

* Fix indent on FirebaseInAppMessaging.podspec

* Delete FirebaseInAppMessagingDisplay, update podfile for external test app

* Update podfiles, bump iOS min version to 9, remove iOS 9 checks in FIRIAMActionUrlFollowerTests

*  Add line in CHANGELOG referencing deletion of display sdk pod

* Remove unused podfile

* Update min version on Podfiles to iOS 9

* Add back FirebaseInAppMessagingDisplay.h

* Add iOS support message to CHANGELOG.md

* Wrap necessary deprecated iOS 9 call
2020-01-22 10:57:00 -05:00
Paul Beusterien efa9bd9cd4 Remove Firebase xcode project (#4588) 2020-01-03 12:19:41 -08:00
Paul Beusterien 7481e8b97f travis job consolidation for Core, GDT, and FIAM (#4385) 2019-11-22 16:57:08 -08:00
wu-hui 2a8d069b77 Run integration tests from CMake on mac (#4276) 2019-11-19 13:40:43 -05:00
Paul Beusterien d8e3a11bb1 Restore Firebase pod to closed source location (#4112) 2019-10-17 09:45:04 -07:00
Paul Beusterien 5895838392 Add Firebase Pod to the repo (#4021) 2019-10-08 14:57:07 -07:00
Gil f32cc12ce0 Build Firestore with Xcode 11 (#4005)
* Drop dependency on OCMock

* Move Firestore onto Xcode 11 in Travis

* Special case simulators based on Xcode version, not product

This allows Firestore's build with Xcode 8.3.3 to continue to work.

* Make the Firestore Podfile install only one platform at a time

Use the PLATFORM environment variable to limit which targets are
modified. This makes the selected platform work but leaves the other
platforms in a broken state in the Xcode UI.

* Fix code signing errors on macOS builds
2019-10-07 08:46:06 -07:00
Paul Beusterien 365dfdaa56 Run FIAMDisplay CI on Xcode 11 (#3959) 2019-10-01 11:04:59 -04:00
Paul Beusterien 4a8ee3de60 Fix Catalyst define checks (#3958) 2019-09-30 16:37:21 -07:00
Paul Beusterien 4c19a13651 Make FIAM tests more robust in Travis (#3952) 2019-09-30 15:32:03 -07:00
Paul Beusterien 0aacd28642 Travis to Xcode 11.0 (#3944) 2019-09-30 10:46:31 -07:00
Paul Beusterien bb563c8497 Migrate travis to Xcode 10.3 and single platform builds (#3714) 2019-08-29 12:26:30 -07:00
Chuan Ren ca19aba3c4 Update email test can now handle email conflict (#3577) 2019-08-14 17:30:40 -07:00
Paul Beusterien 0f856905f0 Run Auth integration tests only in Auth travis phase (#3573) 2019-08-13 08:27:00 -07:00
Paul Beusterien e4a0d62cd5 Handle coverage flakiness more locally (#3350) 2019-07-12 16:26:54 -07:00
Gil 37affc1eb4 Have Firestore integration tests run all tests (#3342)
* Rename FIRQueryTests to FIRQueryUnitTests

* Make IntegrationTests targets run everything

The incremental cost of running all tests is an extra two seconds of run
time, but not starting the simulator three times during a build cuts
build times by ~25%.

* sync_project.rb generated changes

* sync_project.rb generated changes

* Remove AllTests_iOS aggregate target

* Add unit test deps to Firestore_IntegrationTests_*

* Fix BasicCompileTests on macOS and tvOS

* Run Firestore IntegrationTests only on Travis

This cuts build time for the job by about 25%, primarily due to not
having to start/deploy to the simulator repeatedly.
2019-07-12 15:57:03 -07:00
Chuan Ren 69fad8d60a Migrate auth api tests to a dedicated firebase project (#3318) 2019-07-09 09:36:22 -07:00
Gil c7f11450d0 Fix and rewrite sync_project.rb (#3296)
* Fix and rewrite sync_project.rb

Ever since we added multiple platforms, removing a file has been broken.
This fixes that issue.

Also, rewrite target synchronization to make more sense. Essentially now
there's one diff between the filesystem and the groups and then an
explicit diff is done between project files and target contents.

* Run sync_project.rb on post-install
2019-07-08 12:30:13 -05:00
Hui-Wu 13671fda27 Allow firestore api to work with Codable objects + ExplicitNull + Integration tests (#3261)
* Convinience api for codables

* Integration Tests

* ExplicitNull implementation
2019-06-28 15:07:52 -04:00
Corrob 5538146501 Clean the derived data between builds to help reduce flakiness (#3150)
Trying to fix #3146
2019-06-06 10:13:00 -07:00
Paul Beusterien daab8e3d11 Add FirebaseAuth test_spec (#3123) 2019-06-05 20:33:21 -07:00
Chuan Ren 23a35b1719 Disable Auth api tests (#3128) 2019-06-03 13:35:09 -07:00
Paul Beusterien 52e42c0fe7 Use CocoaPods CDN (#3124) 2019-06-03 10:09:26 -07:00
Paul Beusterien 06d36108d8 Add test_spec for FCM (#3088)
* Add test_spec for FCM
* FIRMessagingRemoteNotificationsProxyTest - don't use OCMPartialMock([UIApplication sharedApplication]) to avoid crashing tests on iOS 8 (#3094)
2019-05-28 11:36:31 -07:00