Skip to content

Run unit tests from pod lib lint#7872

Merged
paulb777 merged 4 commits intomasterfrom
pb-storage-ci-fixes
Apr 9, 2021
Merged

Run unit tests from pod lib lint#7872
paulb777 merged 4 commits intomasterfrom
pb-storage-ci-fixes

Conversation

@paulb777
Copy link
Copy Markdown
Member

@paulb777 paulb777 commented Apr 8, 2021

Miscellaneous Storage CI cleanups

  • Run unit tests from pod lib lint
  • Remove a duplicate test
  • Test FirebaseStorageSwift with --no-modular-headers option on cron

#no-changelog

@google-cla google-cla bot added the cla: yes label Apr 8, 2021
@google-oss-bot
Copy link
Copy Markdown
Collaborator

google-oss-bot commented Apr 9, 2021

Coverage Report

Affected SDKs

  • FirebaseFirestore-iOS-FirebaseFirestore.framework

    SDK overall coverage changed from 88.54% (1dbc0ed) to 88.51% (1be63e0) by -0.03%.

    Filename Base (1dbc0ed) Head (1be63e0) Diff
    leveldb_key.cc 97.96% 97.23% -0.73%
    ordered_code.cc 93.24% 92.68% -0.56%

Test Logs

Copy link
Copy Markdown
Member

@ncooke3 ncooke3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice cleanup!

Comment on lines -526 to -535
pod_gen FirebaseStorage.podspec --platforms=macos --clean
RunXcodebuild \
-workspace 'gen/FirebaseStorage/FirebaseStorage.xcworkspace' \
-scheme "FirebaseStorage-Unit-unit" \
"${macos_flags[@]}" \
"${xcb_flags[@]}" \
build \
test

pod_gen FirebaseStorage.podspec --platforms=tvos --clean
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just so I understand better, why are we removing these from the build script? Are your changes to the pod-lib-lint task in storage.yml effectively replacing these parts of the build script?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. The unit tests now get run from pod lib lint. It's just recently possible because CocoaPods 1.10 introduced the feature of being able to select test_spec's to run instead of the all or none that it was previously.

@paulb777
Copy link
Copy Markdown
Member Author

paulb777 commented Apr 9, 2021

Going to merge now, and can address any additional follow up in a subsequent PR

@paulb777 paulb777 merged commit 724caed into master Apr 9, 2021
@paulb777 paulb777 deleted the pb-storage-ci-fixes branch April 9, 2021 17:12
@firebase firebase locked and limited conversation to collaborators May 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants