diff --git a/.github/workflows/cocoapods-integration.yml b/.github/workflows/cocoapods-integration.yml index 24848968a79..c182ff0701d 100644 --- a/.github/workflows/cocoapods-integration.yml +++ b/.github/workflows/cocoapods-integration.yml @@ -3,7 +3,7 @@ name: cocoapods-integration on: pull_request: paths: - - 'CocoapodsIntegrationTest/**' + - 'IntegrationTesting/CocoapodsIntegrationTest/**' - '.github/workflows/cocoapods-integration.yml' - 'Gemfile*' schedule: @@ -29,6 +29,6 @@ jobs: run: brew install coreutils - name: Build and test run: | - scripts/third_party/travis/retry.sh ./CocoapodsIntegrationTest/scripts/build_with_environment.sh \ - --gemfile=./CocoapodsIntegrationTest/TestEnvironments/Cocoapods_multiprojects_frameworks/Gemfile \ - --podfile=./CocoapodsIntegrationTest/TestEnvironments/Cocoapods_multiprojects_frameworks/Podfile + scripts/third_party/travis/retry.sh ./IntegrationTesting/CocoapodsIntegrationTest/scripts/build_with_environment.sh \ + --gemfile=./IntegrationTesting/CocoapodsIntegrationTest/TestEnvironments/Cocoapods_multiprojects_frameworks/Gemfile \ + --podfile=./IntegrationTesting/CocoapodsIntegrationTest/TestEnvironments/Cocoapods_multiprojects_frameworks/Podfile diff --git a/CocoapodsIntegrationTest/TestEnvironments/Cocoapods_multiprojects_frameworks/Podfile b/CocoapodsIntegrationTest/TestEnvironments/Cocoapods_multiprojects_frameworks/Podfile deleted file mode 100644 index 3307b3c53c7..00000000000 --- a/CocoapodsIntegrationTest/TestEnvironments/Cocoapods_multiprojects_frameworks/Podfile +++ /dev/null @@ -1,36 +0,0 @@ -source 'https://github.com/firebase/SpecsDev.git' -source 'https://github.com/firebase/SpecsStaging.git' -source 'https://cdn.cocoapods.org/' - -# Uncomment the next line to define a global platform for your project -platform :ios, '11.0' - -target 'CocoapodsIntegrationTest' do - # Comment the next line if you don't want to use dynamic frameworks - use_frameworks! - pod 'FirebaseABTesting', :path => '../' - pod 'FirebaseAppDistribution', :path => '../' - pod 'FirebaseAppCheckInterop', :path => '../' - pod 'FirebaseCore', :path => '../' - pod 'FirebaseCoreExtension', :path => '../' - pod 'FirebaseCoreInternal', :path => '../' - pod 'FirebaseCrashlytics', :path => '../' - pod 'FirebaseAuth', :path => '../' - pod 'FirebaseAuthInterop', :path => '../' - pod 'FirebaseDatabase', :path => '../' - pod 'FirebaseDynamicLinks', :path => '../' - pod 'FirebaseFirestore', :path => '../' - pod 'FirebaseFunctions', :path => '../' - pod 'FirebaseInAppMessaging', :path => '../' - pod 'FirebaseInstallations', :path => '../' - pod 'FirebaseMessaging', :path => '../' - pod 'FirebaseMessagingInterop', :path => '../' - pod 'FirebasePerformance', :path => '../' - pod 'FirebaseStorage', :path => '../' -end - -# Using the new speed-enhancing features available with CocoaPods 1.7+ -# [sudo] gem install cocoapods --pre -install! 'cocoapods', - :generate_multiple_pod_projects => true, - :incremental_installation => true diff --git a/CocoapodsIntegrationTest/CocoapodsIntegrationTest.xcodeproj/project.pbxproj b/IntegrationTesting/CocoapodsIntegrationTest/CocoapodsIntegrationTest.xcodeproj/project.pbxproj similarity index 100% rename from CocoapodsIntegrationTest/CocoapodsIntegrationTest.xcodeproj/project.pbxproj rename to IntegrationTesting/CocoapodsIntegrationTest/CocoapodsIntegrationTest.xcodeproj/project.pbxproj diff --git a/CocoapodsIntegrationTest/CocoapodsIntegrationTest.xcodeproj/xcshareddata/xcschemes/CocoapodsIntegrationTest.xcscheme b/IntegrationTesting/CocoapodsIntegrationTest/CocoapodsIntegrationTest.xcodeproj/xcshareddata/xcschemes/CocoapodsIntegrationTest.xcscheme similarity index 100% rename from CocoapodsIntegrationTest/CocoapodsIntegrationTest.xcodeproj/xcshareddata/xcschemes/CocoapodsIntegrationTest.xcscheme rename to IntegrationTesting/CocoapodsIntegrationTest/CocoapodsIntegrationTest.xcodeproj/xcshareddata/xcschemes/CocoapodsIntegrationTest.xcscheme diff --git a/CocoapodsIntegrationTest/CocoapodsIntegrationTest/AppDelegate.h b/IntegrationTesting/CocoapodsIntegrationTest/CocoapodsIntegrationTest/AppDelegate.h similarity index 100% rename from CocoapodsIntegrationTest/CocoapodsIntegrationTest/AppDelegate.h rename to IntegrationTesting/CocoapodsIntegrationTest/CocoapodsIntegrationTest/AppDelegate.h diff --git a/CocoapodsIntegrationTest/CocoapodsIntegrationTest/AppDelegate.m b/IntegrationTesting/CocoapodsIntegrationTest/CocoapodsIntegrationTest/AppDelegate.m similarity index 100% rename from CocoapodsIntegrationTest/CocoapodsIntegrationTest/AppDelegate.m rename to IntegrationTesting/CocoapodsIntegrationTest/CocoapodsIntegrationTest/AppDelegate.m diff --git a/CocoapodsIntegrationTest/CocoapodsIntegrationTest/Assets.xcassets/AppIcon.appiconset/Contents.json b/IntegrationTesting/CocoapodsIntegrationTest/CocoapodsIntegrationTest/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from CocoapodsIntegrationTest/CocoapodsIntegrationTest/Assets.xcassets/AppIcon.appiconset/Contents.json rename to IntegrationTesting/CocoapodsIntegrationTest/CocoapodsIntegrationTest/Assets.xcassets/AppIcon.appiconset/Contents.json diff --git a/CocoapodsIntegrationTest/CocoapodsIntegrationTest/Assets.xcassets/Contents.json b/IntegrationTesting/CocoapodsIntegrationTest/CocoapodsIntegrationTest/Assets.xcassets/Contents.json similarity index 100% rename from CocoapodsIntegrationTest/CocoapodsIntegrationTest/Assets.xcassets/Contents.json rename to IntegrationTesting/CocoapodsIntegrationTest/CocoapodsIntegrationTest/Assets.xcassets/Contents.json diff --git a/CocoapodsIntegrationTest/CocoapodsIntegrationTest/Base.lproj/LaunchScreen.storyboard b/IntegrationTesting/CocoapodsIntegrationTest/CocoapodsIntegrationTest/Base.lproj/LaunchScreen.storyboard similarity index 100% rename from CocoapodsIntegrationTest/CocoapodsIntegrationTest/Base.lproj/LaunchScreen.storyboard rename to IntegrationTesting/CocoapodsIntegrationTest/CocoapodsIntegrationTest/Base.lproj/LaunchScreen.storyboard diff --git a/CocoapodsIntegrationTest/CocoapodsIntegrationTest/Base.lproj/Main.storyboard b/IntegrationTesting/CocoapodsIntegrationTest/CocoapodsIntegrationTest/Base.lproj/Main.storyboard similarity index 100% rename from CocoapodsIntegrationTest/CocoapodsIntegrationTest/Base.lproj/Main.storyboard rename to IntegrationTesting/CocoapodsIntegrationTest/CocoapodsIntegrationTest/Base.lproj/Main.storyboard diff --git a/CocoapodsIntegrationTest/CocoapodsIntegrationTest/Info.plist b/IntegrationTesting/CocoapodsIntegrationTest/CocoapodsIntegrationTest/Info.plist similarity index 100% rename from CocoapodsIntegrationTest/CocoapodsIntegrationTest/Info.plist rename to IntegrationTesting/CocoapodsIntegrationTest/CocoapodsIntegrationTest/Info.plist diff --git a/CocoapodsIntegrationTest/CocoapodsIntegrationTest/ViewController.h b/IntegrationTesting/CocoapodsIntegrationTest/CocoapodsIntegrationTest/ViewController.h similarity index 100% rename from CocoapodsIntegrationTest/CocoapodsIntegrationTest/ViewController.h rename to IntegrationTesting/CocoapodsIntegrationTest/CocoapodsIntegrationTest/ViewController.h diff --git a/CocoapodsIntegrationTest/CocoapodsIntegrationTest/ViewController.m b/IntegrationTesting/CocoapodsIntegrationTest/CocoapodsIntegrationTest/ViewController.m similarity index 100% rename from CocoapodsIntegrationTest/CocoapodsIntegrationTest/ViewController.m rename to IntegrationTesting/CocoapodsIntegrationTest/CocoapodsIntegrationTest/ViewController.m diff --git a/CocoapodsIntegrationTest/CocoapodsIntegrationTest/main.m b/IntegrationTesting/CocoapodsIntegrationTest/CocoapodsIntegrationTest/main.m similarity index 100% rename from CocoapodsIntegrationTest/CocoapodsIntegrationTest/main.m rename to IntegrationTesting/CocoapodsIntegrationTest/CocoapodsIntegrationTest/main.m diff --git a/CocoapodsIntegrationTest/TestEnvironments/Cocoapods_multiprojects_frameworks/Gemfile b/IntegrationTesting/CocoapodsIntegrationTest/TestEnvironments/Cocoapods_multiprojects_frameworks/Gemfile similarity index 100% rename from CocoapodsIntegrationTest/TestEnvironments/Cocoapods_multiprojects_frameworks/Gemfile rename to IntegrationTesting/CocoapodsIntegrationTest/TestEnvironments/Cocoapods_multiprojects_frameworks/Gemfile diff --git a/IntegrationTesting/CocoapodsIntegrationTest/TestEnvironments/Cocoapods_multiprojects_frameworks/Podfile b/IntegrationTesting/CocoapodsIntegrationTest/TestEnvironments/Cocoapods_multiprojects_frameworks/Podfile new file mode 100644 index 00000000000..03bfe2e2d04 --- /dev/null +++ b/IntegrationTesting/CocoapodsIntegrationTest/TestEnvironments/Cocoapods_multiprojects_frameworks/Podfile @@ -0,0 +1,36 @@ +source 'https://github.com/firebase/SpecsDev.git' +source 'https://github.com/firebase/SpecsStaging.git' +source 'https://cdn.cocoapods.org/' + +# Uncomment the next line to define a global platform for your project +platform :ios, '11.0' + +target 'CocoapodsIntegrationTest' do + # Comment the next line if you don't want to use dynamic frameworks + use_frameworks! + pod 'FirebaseABTesting', :path => '../../' + pod 'FirebaseAppDistribution', :path => '../../' + pod 'FirebaseAppCheckInterop', :path => '../../' + pod 'FirebaseCore', :path => '../../' + pod 'FirebaseCoreExtension', :path => '../../' + pod 'FirebaseCoreInternal', :path => '../../' + pod 'FirebaseCrashlytics', :path => '../../' + pod 'FirebaseAuth', :path => '../../' + pod 'FirebaseAuthInterop', :path => '../../' + pod 'FirebaseDatabase', :path => '../../' + pod 'FirebaseDynamicLinks', :path => '../../' + pod 'FirebaseFirestore', :path => '../../' + pod 'FirebaseFunctions', :path => '../../' + pod 'FirebaseInAppMessaging', :path => '../../' + pod 'FirebaseInstallations', :path => '../../' + pod 'FirebaseMessaging', :path => '../../' + pod 'FirebaseMessagingInterop', :path => '../../' + pod 'FirebasePerformance', :path => '../../' + pod 'FirebaseStorage', :path => '../../' +end + +# Using the new speed-enhancing features available with CocoaPods 1.7+ +# [sudo] gem install cocoapods --pre +install! 'cocoapods', + :generate_multiple_pod_projects => true, + :incremental_installation => true diff --git a/CocoapodsIntegrationTest/scripts/build_all_environments.sh b/IntegrationTesting/CocoapodsIntegrationTest/scripts/build_all_environments.sh similarity index 100% rename from CocoapodsIntegrationTest/scripts/build_all_environments.sh rename to IntegrationTesting/CocoapodsIntegrationTest/scripts/build_all_environments.sh diff --git a/CocoapodsIntegrationTest/scripts/build_with_environment.sh b/IntegrationTesting/CocoapodsIntegrationTest/scripts/build_with_environment.sh similarity index 100% rename from CocoapodsIntegrationTest/scripts/build_with_environment.sh rename to IntegrationTesting/CocoapodsIntegrationTest/scripts/build_with_environment.sh diff --git a/scripts/check_imports.swift b/scripts/check_imports.swift index 5db866dd3d9..04e84aea876 100755 --- a/scripts/check_imports.swift +++ b/scripts/check_imports.swift @@ -28,7 +28,8 @@ let skipDirPatterns = ["/Sample/", "/Pods/", "FirebaseDynamicLinks/Tests/Integration", "FirebaseInAppMessaging/Tests/Integration/", "SymbolCollisionTest/", "/gen/", - "CocoapodsIntegrationTest/", "FirebasePerformance/Tests/TestApp/", + "IntegrationTesting/CocoapodsIntegrationTest/", + "FirebasePerformance/Tests/TestApp/", "cmake-build-debug/", "build/", "ObjCIntegration/", "FirebasePerformance/Tests/FIRPerfE2E/"] + [