Skip to content

Commit

Permalink
Stop CI on Swift podspecs
Browse files Browse the repository at this point in the history
  • Loading branch information
paulb777 committed May 3, 2024
1 parent e8a12e0 commit c17098c
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 12 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/analytics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ jobs:
run: scripts/third_party/travis/retry.sh pod spec lint GoogleAppMeasurement.podspec --platforms=${{ matrix.target }} --sources=https://github.com/firebase/SpecsDev.git,https://github.com/firebase/SpecsStaging.git,https://cdn.cocoapods.org/
- name: FirebaseAnalytics
run: scripts/third_party/travis/retry.sh pod spec lint FirebaseAnalytics.podspec --platforms=${{ matrix.target }} --sources=https://github.com/firebase/SpecsDev.git,https://github.com/firebase/SpecsStaging.git,https://cdn.cocoapods.org/
- name: FirebaseAnalyticsSwift
run: scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseAnalyticsSwift.podspec --allow-warnings --platforms=${{ matrix.target }}
# The following steps are only run on `ios` due to product availability.
- name: GoogleAppMeasurementOnDeviceConversion
run: scripts/third_party/travis/retry.sh pod spec lint GoogleAppMeasurementOnDeviceConversion.podspec --platforms=ios --sources=https://github.com/firebase/SpecsDev.git,https://github.com/firebase/SpecsStaging.git,https://cdn.cocoapods.org/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ jobs:
runs-on: macos-14
strategy:
matrix:
podspec: [FirebaseDatabase.podspec, FirebaseDatabaseSwift.podspec --allow-warnings]
podspec: [FirebaseDatabase.podspec]
target: [ios, tvos, macos]
flags: [
'--skip-tests --use-static-frameworks'
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/firestore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,6 @@ jobs:
podspec: [
'FirebaseFirestoreInternal.podspec',
'FirebaseFirestore.podspec',
'FirebaseFirestoreSwift.podspec',
]

steps:
Expand Down Expand Up @@ -391,7 +390,6 @@ jobs:
podspec: [
'FirebaseFirestoreInternal.podspec',
'FirebaseFirestore.podspec',
'FirebaseFirestoreSwift.podspec',
]
platforms: [
'macos',
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/inappmessaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:

strategy:
matrix:
podspec: [FirebaseInAppMessaging.podspec, FirebaseInAppMessagingSwift.podspec --allow-warnings]
podspec: [FirebaseInAppMessaging.podspec]
os: [macos-14, macos-13]
include:
- os: macos-14
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/remoteconfig.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
matrix:
# TODO: macos tests are blocked by https://github.com/erikdoe/ocmock/pull/532
target: [ios, tvos, macos --skip-tests, watchos]
podspec: [FirebaseRemoteConfig.podspec, FirebaseRemoteConfigSwift.podspec --allow-warnings --skip-tests]
podspec: [FirebaseRemoteConfig.podspec]
os: [macos-14, macos-13]
include:
- os: macos-14
Expand Down
10 changes: 5 additions & 5 deletions scripts/health_metrics/file_patterns.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
{
"sdk": "analytics",
"podspecs": ["FirebaseAnalytics.podspec", "FirebaseAnalyticsSwift.podspec", "GoogleAppMeasurement.podspec"],
"podspecs": ["FirebaseAnalytics.podspec", "GoogleAppMeasurement.podspec"],
"filePatterns": [
"^FirebaseAnalytics.*",
"^GoogleAppMeasurement.*"
Expand Down Expand Up @@ -58,7 +58,7 @@
},
{
"sdk": "database",
"podspecs": ["FirebaseDatabase.podspec", "FirebaseDatabaseSwift.podspec"],
"podspecs": ["FirebaseDatabase.podspec"],
"filePatterns": [
"^FirebaseDatabase.*",
"\\.github/workflows/database\\.yml",
Expand All @@ -85,7 +85,7 @@
},
{
"sdk": "firestore",
"podspecs": ["FirebaseFirestore.podspec", "FirebaseFirestoreSwift.podspec"],
"podspecs": ["FirebaseFirestore.podspec"],
"filePatterns": [
"^Firestore/.*",
"FirebaseAppCheck/Interop/[^/]+\\.h",
Expand Down Expand Up @@ -117,7 +117,7 @@
},
{
"sdk": "inappmessaging",
"podspecs": ["FirebaseInAppMessaging.podspec", "FirebaseInAppMessagingSwift.podspec"],
"podspecs": ["FirebaseInAppMessaging.podspec"],
"filePatterns": [
"^FirebaseInAppMessaging.*",
"Interop/Analytics/Public/[^/]+\\.h",
Expand Down Expand Up @@ -160,7 +160,7 @@
},
{
"sdk": "remoteconfig",
"podspecs": ["FirebaseRemoteConfig.podspec", "FirebaseRemoteConfigSwift.podspec"],
"podspecs": ["FirebaseRemoteConfig.podspec"],
"filePatterns": [
"^FirebaseRemoteConfig.*",
"Interop/Analytics/Public/[^/]+\\.h",
Expand Down

0 comments on commit c17098c

Please sign in to comment.