Commit Graph
463 Commits
Author SHA1 Message Date
Paul Beusterien 6eaf76142b Fix Storage Integration Test CI (#7874) 2021-04-09 18:00:55 -07:00
Gran 33f1256f4f Transfer main branch testing podspec repo to open source. (#7869)
* Transfer master branch testing podspec repo to open source.

* Update the tool to only remove dirs and retain CONTRIBUTION, LICENSE and README.md.
2021-04-09 11:58:03 -07:00
Paul Beusterien 724caede52 Run unit tests from pod lib lint (#7872) 2021-04-09 10:12:21 -07:00
Gran 1dbc0edd8d Fix release workflow. (#7868) 2021-04-08 13:18:48 -07:00
Gran aeeb015de8 Fix release workflow. (#7859) 2021-04-07 17:59:00 -07:00
Gran ee5aaccd73 Update nightly release testing to release branch (#7848)
* Update nightly release testing to release branch

* Fix typo
2021-04-06 10:59:52 -07:00
Paul Beusterien b163ec5058 Firebase pod support for watchOS for RC and RTDB (#7841) 2021-04-05 11:41:33 -07:00
Paul Beusterien 4ac28335e7 Firmer SPM dependency versions and iOS device build check (#7838) 2021-04-05 10:54:55 -07:00
Gran e299e645a4 Add SpecsDev to source (#7820)
* Let build_zip.sh add multiple sources.
2021-04-01 16:36:38 -07:00
Gran 881518c82a Update release test to generate testing repo with Cocoapods tags. (#7769)
* Update release workflow to generate an RC.

* Update pod source.
2021-03-24 09:56:41 -07:00
Gran 4a1f69854a Add test_spec parameters for podspecs with different test_spec name. (#7731)
* Add test_spec parameters for podspecs with different test_spec name.
2021-03-16 17:34:27 -07:00
Gran 1f2f5f617e Update release/prerelease workflows. (#7703)
The release workflow will run from the latest release branch of the SDK repo.
The prerelease workflow will run from the head of the master branch.

Pods tested in release workflow will source from
SpecsTesting repo
SpecsStaging repo
cdn

Pods tested in prerelease workflow will source from
SpecsReleasing repo
SpecsDev
SpecsStaging repo
cdn
2021-03-15 10:45:03 -07:00
Maksym Malyhin 627ebdcd45 CI: retry only 2 times (#7659) 2021-03-05 11:13:12 -05:00
Paul Beusterien 02357e7f02 Future Apple toolchain fixes (#7563) 2021-03-03 18:35:38 -08:00
Gran 512c9405cd Add code coverage README (#7613) 2021-03-03 10:55:22 -08:00
Peter Friese 85dc61d030 Treat bridging headers as test-related (#7588)
As discussed in https://github.com/firebase/firebase-ios-sdk/pull/7547#discussion_r580442313, this patch makes sure that bridging headers may use angle-bracket imports.
2021-02-23 16:39:46 +01:00
Paul Beusterien cf49cbaa54 Incorporate SpecsDev (#7561) 2021-02-19 07:18:59 -08:00
Gran d083ce342c Setup Firestore code coverage tests. (#7518) 2021-02-12 17:04:33 -08:00
Gran 00d73a4a5a Turn on unit test for FirebasePerformance. (#7495) 2021-02-11 10:03:31 -08:00
Gran 025eecd1fc Add multiple workflows for coverage tests. (#7470)
Add all SDKs to code coverage workflows.
Limit report to only frameworks and exclude xctest etc.
2021-02-08 15:09:25 -08:00
Gran 496432faa8 Update changed file tool (#7463) 2021-02-05 10:12:12 -08:00
Maksym Malyhin 7ecc4a73b4 GHA zip workflow: add manual trigger (#7450)
* GHA zip workflow: add manual trigger

* avoid env

* Wrap URL

* temp enable for pull requests

* Revert package on pull request

* allow conditional steps for manual trigger
2021-02-03 19:22:41 -05:00
Paul Beusterien db898a0f51 Enable tvOS support for Perf (#7174) 2021-02-03 12:06:26 -08:00
Gran 93574c5382 Update coverage workflow (#7430)
* Trigger a workflow when a pr is created.

* Remove redundant comments and update variables.
2021-02-02 12:58:03 -08:00
Gran 5c1f1acb8d Add Code Coverage Report. (#7357)
Create coverage reports for PRs when PRs are updated.
2021-02-02 10:53:05 -08:00
Paul Beusterien 06c1a50e87 Fix build_non_firebase_sdks.sh for 7.x Swift pods (#7396) 2021-01-28 11:23:30 -08:00
manjanac 37ff45e5d4 Sample app (#7240)
* Restores ML Pods after M77.

* Fix Package.swift

* Re-add catalyst to GHA workflow.

* Sample app for model downloader.

* Lint fix.

* Lint fix.

* Lint fix.

* Copyright fix.

* Update sample app to point to latest branch.

* Add public init to ModelConditions.

* Make Podfile point to latest changes on master.

* Make Podfile point to latest changes on sample-app.

* Add build test to GHA.

* Fix GoogleService-Info.plist path.

* Fixed typo in README.md

* Update Podfile to point to local SDK for testing.

* Update Podfile to point to local SDK for testing.
2021-01-27 10:20:56 -08:00
Paul Beusterien 54d28547d3 Remove GDT from repo (#7384) 2021-01-27 07:51:12 -08:00
Gran 199ef50b3a Add coverage test workflow. (#7231)
This PR is a prerequisite for generating code coverage report.

get_updated_files.sh will help get updated files to determine which sdk workflow to trigger.
pod_test_code_coverage_report.sh will run pod tests and create xcresult bundles, with code coverage report, for SDKs
The workflow test_coverage.yml will determine testing jobs to trigger and all xcresult bundles will be uploaded as artifacts on Github Actions.

An upcoming PR will fetch these artifacts and combine coverage reports into a json file and then an API request will be sent with the json file to the Metrics Service, which will help generate a report.
2021-01-21 10:38:34 -08:00
Paul Beusterien 02488e99b7 Remove GoogleUtilities from repo (#7315) 2021-01-21 07:09:50 -08:00
Gran c8536f0c26 Add key file to access metrics service (#7314)
This service will post code coverage report on pr.
2021-01-19 08:52:29 -08:00
Morgan Chen 78197af9ad Update changelogs and script (#7278) 2021-01-08 14:24:59 -08:00
Paul Beusterien 47c185b765 Merge branch 'zip-v3' 2021-01-06 17:35:18 -08:00
Jan Wyszynski 3cf318460c Bump RTDB emulator version (#7250) 2021-01-06 10:06:46 -07:00
Paul Beusterien 2f28cdf8e2 Add ZipBuilder support for tvOS and macOS (#7212) 2020-12-27 07:14:23 -08:00
Paul Beusterien 651402ce32 Eliminate repo-dir option (#7201) 2020-12-21 13:36:09 -08:00
Paul Beusterien 451a6c24c2 Restore Catalyst unit testing in CI (#7185) 2020-12-17 07:45:13 -08:00
Visu ecdaef77d6 Cleanup the binary release related workflows for Firebase performance. (#7182) 2020-12-16 12:58:52 -08:00
Jeremy Jiang 342314d80e Add secret to performance integration tests. (#7169)
* Add secret to performance integration tests.

* Updat pull request path to trigger the GHA.

* Remove pull request condition.

* Remove dev test App GoogleService-Info.plist

* Create README.md

* Fix style.
2020-12-15 15:04:02 -05:00
Jeremy Jiang c29235401b Add perf related workflows. (#7158)
* Add perf related workflow.

* Fix syntax.

* Remove spm workflow

* Add gha-encrypted perf file.

* Fix style.

* Remove comments.
2020-12-14 17:50:33 -05:00
Paul Beusterien 4424e9a5d3 Bump nanopb to 0.3.9.7 (#7108) 2020-12-11 07:04:34 -08:00
Visu 3720a72bac Fireperf SDK open source commit (#7140) 2020-12-09 21:00:11 -08:00
manjanac 33173a2755 New secrets file for MLModelDownloader (#7069)
* Restores ML Pods after M77.

* Fix Package.swift

* Replace ML secrets file for GoogleService-Info.plist.

* Move secrets file to the right location.
2020-12-01 15:56:20 -08:00
manjanac e15bb36a2f Add GoogleService-Info.plist for integration testing. (#7037)
* Restores ML Pods after M77.

* Fix Package.swift

* Add GoogleService-Info.plist to secrets for integration tests.

* Configure FirebaseApp in tests to read from GoogleService-Info.plist.

* Lint fix.

* Plist WIP

* Plist WIP

* Add GoogleService-Info.plist to secrets for (future) integration tests.

* Add GoogleService-Info.plist to secrets for (future) integration tests.

* Add GoogleService-Info.plist to secrets for (future) integration tests.

* Split tests into unit and integration, configure FirebaseApp.

* Move GoogleService-Info.plist to Integration/

* Split tests into unit and integration.

* Fix workflow step to copy plist over to project.
2020-11-30 17:55:22 -08:00
Maksym Malyhin 9cb3ccf2ff Adjust check_imports.swift for test files (#7017) 2020-11-23 18:29:05 -05:00
Ryan Wilson 6225f7f125 Disable build dependencies. (#6986)
* Disable build dependencies.

This should fix #6973. Was accidentally enabled when migrating the argument names.

* Fix localPodspecPath parsing.

* Temporarily enable zip CI test.

* Also enable packaging

* Revert GHA test changes.
2020-11-17 21:57:12 -05:00
Paul Beusterien 5dac2bf4df Update sample app for Firebase 7 and add build test to CI (#6949) 2020-11-11 14:15:22 -08:00
Ryan Wilson a8e740bcaa Fix arguments for new zip build args (#6954) 2020-11-11 10:06:30 -05:00
Vimanyu Jain a1af740a2d replace set-env with github env file workflow (#6945)
Suggested workaround for security vulnerability listed at,
https://github.com/actions/toolkit/security/advisories/GHSA-mfwh-5m23-j46w

This error can be spotted in the logs currently,
The `set-env` command is deprecated and will be disabled on November 16th. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
2020-11-10 15:16:12 -08:00
Ryan Wilson cd3169739e Move zip-builder to ArgumentParser. (#6920)
* Move zip-builder to ArgumentParser.

This provides more consistency with the other tooling, and lays
groundwork to make further changes to arguments passed in.

* Update zip build workflow, enable temporarily.

* Fix typo in build script.

* Removed RC option + other review feedback

* Style

* Fix Carthage naming.

* Revert V2 plan doc, add V3 plan

* Remove trailing space.

* Update some missed parts, fix zip builds.

* Removed old references in README.

* Fixed trailing whitespace.

* Revert GHA cron run.

* Review
2020-11-10 09:06:51 -05:00