Commit Graph
325 Commits
Author SHA1 Message Date
Paul Beusterien 5e01fda86b Header/Import Guidelines (#5765) 2020-06-09 14:08:56 -07:00
Paul Beusterien e15724a436 Migrate from interop pods to source_files header access (#5760) 2020-06-09 06:09:27 -07:00
Paul Beusterien d4621a636f Use preserve_paths instead of CocoaPods private (#5758) 2020-06-09 05:21:28 -07:00
Gran 2037775e80 Upload zip artifact to gcs after build. (#5736)
* Upload zip artifact to gcs after build.
2020-06-04 13:18:51 -07:00
Paul Beusterien 4f0196bb2b Delete unused travis code (#5696) 2020-05-28 17:00:57 -07:00
Paul Beusterien 24fc333a4b Migrate Installations to GHA (#5692) 2020-05-28 09:36:35 -07:00
Paul Beusterien 6ff994907d InstanceID to GHA (#5691) 2020-05-28 07:11:10 -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
Sebastian Schmidt c2fbc77e9e Use secure rules for Firebase Storage Integration tests (#5643) 2020-05-20 12:38:08 -07:00
Gil e462d04ddb Make Executors have deterministic shutdown (#5547)
In particular:

  * All tasks are guaranteed to either run to completion or not run at all;
  * Executors can now be destroyed from the threads they own (if applicable); and
  * Many common concepts between the Executor implementations have been harmonized and shared.

Note:

  * This change does not yet implement `Executor::Dispose` or clean up any of the higher level componentry to take advantage of these changes.
  * The executors implement shutdown by canceling any tasks that haven't started yet. This diverges from the plan (which called for a separate `UserCallbackExecutor` to handle this), but in the end it turns out to be simpler to just cancel everything and make cancel handle tasks-in-progress in a reasonable way. LMK if you have grave objections to this, in which case I can rework this.

This is the foundation for addressing firebase/quickstart-unity#638.
2020-05-18 08:30:02 -07:00
Paul Beusterien d82361409c Initial RC Swift API tests (#5602) 2020-05-13 18:00:34 -07:00
Gran c1a5519b70 Enable Swift Quickstart tests (#5566)
* Enable remoteconfig swift quickstart tests
2020-05-11 11:14:08 -07:00
Gran ca4a65522b Add quickstart tests (#5544)
* Add Quickstart tests
2020-05-08 16:47:49 -07:00
Gran 34597045a9 Add a workflow to run remote config on GHA (#5537)
* Add Remoteconfig Quickstart Test
2020-05-07 09:29:23 -07:00
Paul Beusterien 670845ac1f Add Auth Swift API tests (#5517) 2020-05-04 18:37:07 -07:00
Paul Beusterien 83d7c78923 Update pod gen version and address GHA Catalyst failures (#5509) 2020-04-30 09:47:55 -07:00
Paul Beusterien 64c42f6bb8 Migrate Crashlytics to GHA (#5497) 2020-04-30 09:25:12 -07:00
Doudou Nan a2fbd12168 Build GDTCCT watchOS test apps in GHA (#5495) 2020-04-29 11:58:54 -07:00
Paul Beusterien 061d2c4643 Fix zip nightly build to work with SpecStaging (#5486) 2020-04-28 08:28:00 -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
Paul Beusterien 629c2ae20d Fix InstanceID cron build regression (#5468) 2020-04-27 10:54:34 -07:00
Gil e3f3a78aef Remove the Firestore_SwiftTests_iOS target (#5458)
The tests in this target are already covered by
Firestore_IntegrationTests_iOS and also run on the other platforms
through the other platform variants of this target.

Also remove an explicit override of CLANG_WARN_COMMA in the
Firestore_Example_macOS target. This should have been cleaned up earlier
--no other targets have this setting.
2020-04-26 15:01:42 -07:00
Chen Liang 793d763490 create firebase messaging folder (#5445) 2020-04-23 14:43:47 -07:00
Chen Liang f60992fba0 Fix messaging GHA failure (#5430) 2020-04-21 15:44:35 -07:00
Gil 7a58eba2e5 Remove firebase/firestore from paths in Firestore/core (#5374)
* Manual Xcode project fixups

* Remove `firebase/firestore` from paths in Firestore/core

This renames all Firestore files under `Firestore/core` to remove the
interior `firebase/firestore` directory structure. This is motivated by
build failures under Windows where the filenames of intermediates were
too long.

Concretely:

  * `Firebase/core/src/firebase/firestore` becomes `Firebase/core/src`
  * `Firebase/core/test/firebase/firestore` becomes
    `Firebase/core/test/unit`

Moving the tests into a `unit` subdirectory aligns Firestore with the
directory structure in
[AddNewPod](https://github.com/firebase/firebase-ios-sdk/blob/master/AddNewPod.md),
modified for C++ (see discussion in #3224).
2020-04-20 14:57:34 -07:00
Gil 96de8fb74b Add LLDB type summaries for Firestore types (#5407)
There are some particular pain points debugging Firestore today because contents of variables are obscured due to information hiding and shared representation techniques we use. Also, we use elements of the Abseil library to supplement what's available in the C++11 standard library.

Taken together, these make our default experience in LLDB and the Xcode debugger quite painful: getting the path of a document currently takes 5 clicks. This change pulls the document path into the summary line, making it available with no clicks.

This change adds type summaries for

  * DocumentKey and ResourcePath
  * DocumentReference and FIRDocumentReference
  * DocumentSnapshot and FIRDocumentSnapshot
  * absl::optional
  * DatabaseId
2020-04-20 09:55:17 -07:00
Chen Liang 447e544264 add a token refresh integration test in messaging (#5358) 2020-04-15 11:39:34 -07:00
Gil c873af8038 Shorten CMake test targets/begin firebase_core consolidation (#5321)
* Add new, simpler CMake helper functions

... making them more like built-in functions. This makes it possible to
combine other CMake functions in ways that weren't possible with the
original all-in-one approach.

This includes:
  * firebase_ios_add_executable
  * firebase_ios_add_test
  * firebase_ios_add_library

All of which can be combined with target_link_libraries, etc.

* Shorten CMake test targets, e.g. firebase_firestore_util_test => firestore_util_test

* Remove CMake file inclusion check

Now that we're committed to using globs for finding sources, this check
is incompatible and no longer useful.
2020-04-15 11:02:56 -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 5820aa9563 Migrate Auth CI from travis to GHA (#5308) 2020-04-08 11:12:46 -07:00
Paul Beusterien b90ddf1339 Limit Swift line lengths to 100 (#5315) 2020-04-08 10:48:24 -07:00
Gil ecfe3ee8de Python 3 compatibility fixes (#5285) 2020-04-03 16:13:55 -07:00
Paul BeusterienandMarek Gilbert 4ea4340285 Upgrade clang-format (#5265)
Co-authored-by: Marek Gilbert <mcg@google.com>
2020-04-03 11:38:31 -07:00
Paul Beusterien 7593515f9e FirebasePod, SymbolCollision and Interop tests to GHA (#5273) 2020-04-03 10:36:24 -07:00
Paul Beusterien 69f9a45de6 Update swiftformat to 0.44.6 (#5263) 2020-04-02 08:40:25 -07:00
Paul Beusterien e7e4414e12 Add FirebaseStorageSwift to GHA CI (#5252) 2020-04-01 17:19:19 -07:00
Maksym Malyhin 795a66dee8 Re-encrypt GHA secrets (#5251)
* Re-encrypt GHA secrets.

* Fix storage plist
2020-04-01 20:02:54 -04:00
Paul Beusterien 94262b37e5 Storage Integration Tests to Swift (#5197) 2020-03-27 15:51:32 -07:00
Paul Beusterien b52b609133 GHA for PRs from GitHub forks (#5180) 2020-03-24 15:43:30 -07:00
Paul Beusterien eeced5d565 Fix travis quickstart tests (#5169) 2020-03-23 17:06:45 -07:00
Paul Beusterien 611079b32c Fix GHA cron and travis unbound variable regressions (#5167) 2020-03-23 06:47:23 -07:00
Paul Beusterien f23c230a4c Test Quickstarts in GHA (#5134) 2020-03-20 16:42:14 -07:00
Chuan Ren 9a7754c59e Enable lint for Auth (#5097) 2020-03-17 10:22:29 -07:00
Paul Beusterien df21e99b7a Add Catalyst testing for GHA (#5115) 2020-03-17 07:54:34 -07:00
Paul Beusterien 73771a0570 FirebaseAuth should be in implicit pod list (#5104) 2020-03-13 13:15:33 -07:00