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.
This commit is contained in:
manjanac authored and GitHub committed 2020-11-30 17:55:22 -08:00
1 parent e4ccbe2c71
commit e15bb36a2f
5 files changed
+151 -71

No files matched your search

+7
View File
@@ -45,4 +45,11 @@ Pod::Spec.new do |s|
unit_tests.source_files = 'FirebaseMLModelDownloader/Tests/Unit/**/*.swift'
unit_tests.requires_app_host = true
end
s.test_spec 'integration' do |int_tests|
int_tests.platforms = {:ios => '10.0', :osx => '10.12', :tvos => '10.0'}
int_tests.source_files = 'FirebaseMLModelDownloader/Tests/Integration/**/*.swift'
int_tests.resources = 'FirebaseMLModelDownloader/Tests/Integration/Resources/GoogleService-Info.plist'
int_tests.requires_app_host = true
end
end