Skip to content

Conversation

@manjanac
Copy link
Contributor

Hey there! So you want to contribute to a Firebase SDK?
Before you file this pull request, please read these guidelines:

Discussion

  • Read the contribution guidelines (CONTRIBUTING.md).
  • If this has been discussed in an issue, make sure to link to the issue here.
    If not, go file an issue about this before creating a pull request to discuss.

Testing

  • Make sure all existing tests in the repository pass after your change.
  • If you fixed a bug or added a feature, add a new test to cover your code.

API Changes

  • At this time we cannot accept changes that affect the public API. If you'd like to help
    us make Firebase APIs better, please propose your change in a feature request so that we
    can discuss it together.

@google-cla google-cla bot added the cla: yes label Dec 17, 2020
@manjanac manjanac marked this pull request as ready for review December 17, 2020 19:46
@manjanac manjanac requested a review from paulb777 December 17, 2020 19:46
spm-cron:
# Don't run on private repo.
if: github.event_name == 'schedule' && github.repository != 'FirebasePrivate/firebase-ios-sdk'
runs-on: macOS-latest
Copy link
Member

Choose a reason for hiding this comment

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

Temporarily comment line 51 to test the spm-cron job before tonight.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done!

Copy link
Member

Choose a reason for hiding this comment

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

LGTM!

if: github.repository != 'FirebasePrivate/firebase-ios-sdk' || github.event_name == 'pull_request'
runs-on: macOS-latest
steps:
- uses: actions/checkout@v2
Copy link
Member

Choose a reason for hiding this comment

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

Change the build on line 74 to test to also run tests

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I made this change, but my integration tests are failing. Am I missing the GoogleService-Info.plist under catalyst?

Copy link
Member

Choose a reason for hiding this comment

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

Usually a GoogleService-Info.plist isn't needed for unit tests. It looks like the scheme needs to be specified - like https://github.com/firebase/firebase-ios-sdk/blob/master/.github/workflows/core.yml#L70

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah perfect, thanks!

Copy link
Member

@paulb777 paulb777 left a comment

Choose a reason for hiding this comment

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

LGTM! after uncommenting cron

@manjanac manjanac merged commit 5502a08 into master Dec 18, 2020
@manjanac manjanac deleted the add-catalyst branch December 18, 2020 00:12
@firebase firebase locked and limited conversation to collaborators Jan 17, 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