Commit Graph
669 Commits
Author SHA1 Message Date
Paul Beusterien 3ac376caad Add Xcode 15 CI for zip qs tests (#12101) 2023-11-16 13:17:00 -05:00
Paul Beusterien dd3fea8a6d More Xcode 15 CI (#12038) 2023-11-02 08:24:58 -07:00
Paul Beusterien c2250a4fbe Fix zip quickstart regression (#12036) 2023-11-01 10:38:15 -07:00
Paul Beusterien 735150497f Run Messaging CI on Xcode 15 (#12028) 2023-11-01 11:22:03 -04:00
Paul Beusterien 24be340960 FirebaseCore CI on Xcode 15 (#12032) 2023-10-31 15:51:50 -07:00
Paul Beusterien 60ac2d8391 Add Xcode 15 CI for Storage (#11983) 2023-10-31 08:24:39 -07:00
Nick Cooke 571bdc814d [Infra] Speed up xcodebuilds by only testing (#11742) 2023-10-26 10:19:40 -04:00
Nick Cooke 387de5b467 [Infra] Enable testing for iOS 13+ client app scheme (#11987) 2023-10-24 11:25:37 -04:00
Mila 8d66bdcfed Add MIEQ negative test cases (#11934) 2023-10-23 12:08:06 -04:00
Mila 33cf8158c7 Testing composite index queries against production (#11865) 2023-10-20 10:15:30 -04:00
Nick Cooke 992dd55adc [Firestore] Consolidate Firestore and FirestoreSwift (Post-Rollback) (#11954) 2023-10-19 19:52:20 -04:00
Morgan Chen eaf81fa44b Rotate service account key (#11948) 2023-10-16 14:49:11 -07:00
Morgan Chen 62ae09c500 Add Firestore integration test secret (#11940) 2023-10-13 15:24:23 -07:00
Andrew HeardandNick Cooke f3a14c249e Add FirebaseAppCheckInterop umbrella header (#11860)
Co-authored-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>
2023-10-11 18:39:18 -04:00
Andrew Heard a69962d5fc Upgrade to clang-format v17 (#11824) 2023-09-19 09:59:37 -07:00
Nick Cooke bb1dd5754c [Config] Move 'ClientApp' out of 'SwiftPMTests' directory (#11741) 2023-08-29 16:31:24 +00:00
Nick Cooke ab7228ef6b [Config] Add CocoaPods test app to test library imports (#11734) 2023-08-29 10:40:47 -04:00
wu-hui 3f9fb1bd77 Run xcodebuild in parallel for firestore (#11708)
This PR includes a few improvements to Firestore's CI jobs:

- Always trigger Firestore workflow, but change the workflow to skip its jobs if no firestore changes are detected.
- Introduce a new job check-required-tests to the workflow to check if all required jobs are successful or skipped. This should be the required check.
Add parallelization parameters to xcodebuild
- Skip a build step with xcodebuild, and only do test which triggers build anyways. This removes a redundant build run.
2023-08-22 13:14:27 -04:00
Andrew Heard e04f324144 [CI] Handle empty list in check_copyright.sh (#11647)
- Added handling for an empty list of files with invalid copyright declarations.
- Fixed indentation to 2 spaces.
2023-08-04 11:21:07 -04:00
wu-hui 54f1b1b33c Setup integration tests against named db (#11638)
* Make tests work against named db

* setup jobs
2023-08-02 13:14:26 -04:00
ae871b9dc1 Update to swiftformat 0.51.12 (#11531)
Co-authored-by: Andrew Heard <andrewheard@google.com>
Co-authored-by: Nick Cooke <nickcooke@google.com>
2023-07-11 15:54:51 -07:00
Andrew Heard a2230e26ba [App Check] Prefix test module names with Firebase (#11359)
Renamed AppCheckUnit to FirebaseAppCheckUnit and AppCheckUnitSwift to FirebaseAppCheckUnitSwift. This is in preparation for extracting core App Check functionality into a separate SDK.
2023-05-31 09:55:59 -04:00
Mou Sun 30c70f5ece fix diff report missing api (#11325) 2023-05-24 12:17:45 -07:00
Mou Sun 5504b40b0b Always print out class name as title (#11296) 2023-05-16 11:22:24 -07:00
Mark Duckworth 52ebbbf19d Sum and average (#11108)
This is implementation but not public release of sum and average. The sum/avg API is not made public. There are no API changes in this PR.
2023-05-12 13:56:16 -06:00
Jon SimantovandWu-Hui 34932ce9ec Patch LevelDB so Firestore can support international paths on Windows (#11276)
* Delete invalid move tests

* add some back

* Patch leveldb to support UTF-16 paths on Windows.

* Add patch for both 1.22 and 1.23, since C++ SDK patches to 1.23.

* Fix function name in patch.

* Remove extraneous override.

* Add patch files to whitespace script.

---------

Co-authored-by: Wu-Hui <wu.hui.github@gmail.com>
2023-05-11 14:13:20 -07:00
Mou Sun eb9c7d6c65 Create API Diff Report only when the first commit in PR has an API change (#11275) 2023-05-11 11:06:38 -07:00
Mou Sun ecd4035daf Api Diff Report CI (#11236) 2023-05-10 15:04:32 -07:00
Mou Sun 8efafcb340 API Diff Report tools (fix python format) (#11235) 2023-05-05 13:42:24 -07:00
Paul Beusterien e7c5c9713b Revert "Api Diff Report Tools (#11184)" (#11234)
This reverts commit 8056cdacc0.
2023-05-05 12:07:33 -07:00
Mou Sun 8056cdacc0 Api Diff Report Tools (#11184) 2023-05-05 11:11:00 -07:00
Nick Cooke f22918d064 [Infra] Add sample app to test building SPM distro across supported platforms (#11150)
* Add client sample app

* Build script changes and workflow changes

* Style

* Add note about special analytics libraries

* Undo unintentional change

* Update spm.yml

* Update spm.yml

* Fix CI for now

* Workflow works locally- not on GHA?

* Disable xcpretty in build.sh

* Fix CI

* Get PR in passing state

* Fix CI for good
2023-04-24 07:00:06 -07:00
Paul Beusterien 9214b14f82 Analytics ObjC API coverage tests via CocoaPods and SPM (#11137) 2023-04-17 14:03:38 -07:00
Paul Beusterien 0b580021df Add AnalyticsSwiftUnit tests to SPM (#11131) 2023-04-17 08:06:19 -07:00
Andrew Heard 7d2ece61c7 [Tooling] Add FIR_CLANG_FORMAT_PATH env var to style.sh (#11097)
Added an environment variable to specify the path to the version of clang-format used by the style.sh script.
2023-04-11 10:00:14 -04:00
Nick Cooke 7452958df4 [Infra] Avoid subshells in test script (#11094) 2023-04-10 13:49:01 -04:00
Andrew Heard 98e218b686 [SPM] Require Xcode 13.3+ (Swift 5.6) (#11046)
Increased swift-tools-version to 5.6 in Package.swift to declare that that the Swift 5.6 toolchain (included in Xcode 13.3) is the minimum version required to build the Firebase package.

Replaced uses of initializers / methods / enums that were deprecated in SPM 5.6.

Note: Xcode 13.3.1+ has been the minimum supported since Firebase 9.0 but this enforces Xcode 13.3+ in Package.swift. However, this does not enforce Xcode 13.3.1 specifically since the Swift toolchain version did not change between Xcode 13.3 and 13.3.1.
2023-04-04 16:54:44 -04:00
wu-hui c1ae7d1733 make style.sh error checking more tolerable (#11074)
* Fix style.sh to check for mint availability

* Too strict

* remove set -e
2023-04-04 08:09:11 -07:00
wu-hui a150f0b6d2 Fix style.sh to check for mint availability (#11070) 2023-04-04 09:26:59 -04:00
Denver Coneybeare 92ac9fcf0f Scripts cleanup: remove python six usage and get ruby from PATH (#11039) 2023-03-30 13:55:16 -04:00
Nick Cooke 867697b8f3 [Infra] Upgrade to clang-format16 (#10973) 2023-03-20 12:47:43 -04:00
Nick Cooke 8c9d5464f6 [skip ci] Remove outdated TODO comment (#10922) 2023-03-09 09:05:09 -08:00
Nick Cooke e752c63501 [Infra] Add workflow for detecting unlinked Firestore symbols (#10901)
* [Infra] Add workflow for detecting unlinked Firestore symbols

* Exit if xcodebuild fails

* Add more documentation for script

* Enable script to work on current state of master

* Style

* Feedback pt. 1

* Feedback pt. 2

* Pipe to xcpretty to shorten logs

* Debug CI error code

* Attempt to fix CI error code

* Fix CI issue

* Fix pipe issue
2023-03-09 10:18:02 -05:00
Sam Edson 729eb40cb2 Merge sessions-main with master (#10787) 2023-02-07 16:02:19 -05:00
Visu c7e95996ff Propagate log environment variable to unit tests for the app. (#10718) 2023-01-19 18:24:24 -08:00
Visu 2f8664c9c5 Enable events to be generated for Autopush and Staging environments. (#10676) 2023-01-12 15:45:49 -08:00
Morgan Chen 8913a64682 Revert "Include subheaders in script output (#10212)" (#10652)
This reverts commit 11313da887.
2023-01-06 14:47:17 -08:00
Sam Edson 442efb874e [Sessions] Add Swift Package Manager tests for Sessions (#10572) 2022-12-15 13:55:31 -05:00
AashishandPeter Friese 67ae9555da [Messaging] Standalone Watch App Sample (#10552)
* [Messaging] Standalone Watch App Sample

* Add comment on disabling method swizzling

* Add dividers

* Rename to notificationCenter

* Add README with instructions

* Fix whitespace

* #no-changelog, build regression test

* fixes to yml and scripts for sample

* Add podfile

* podfile fixes

* podfile fixes

* Make project format xcode 13 compatible

* fix scheme in build.sh

* fix reference to service info file

* fix assets compile failure

* fix podfile linkage

Co-authored-by: Peter Friese <peter@peterfriese.de>
2022-12-07 11:00:51 -08:00
Mou Sun 257d948548 Add jobs to build quickstart apps and run tests on FTL (#10519) 2022-12-02 13:52:17 -08:00