BranchMetrics / ios-branch-deep-linking-attribution

The Branch iOS SDK for deep linking and attribution. Branch helps mobile apps grow with deep links / deeplinks that power paid acquisition and re-engagement campaigns, referral programs, content sharing, deep linked emails, smart banners, custom user onboarding, and more.
https://help.branch.io/developers-hub/docs/ios-sdk-overview
MIT License
728 stars 229 forks source link

SDK-1790 codecov integration #1258

Closed NidhiDixit09 closed 1 year ago

NidhiDixit09 commented 1 year ago

Reference

SDK-1790 - Codecov Integration https://branch.atlassian.net/browse/SDK-1790

Summary

Updated GHA and fastlane files for generating and uploading code coverage data.

Motivation

Part of Automation and Quality initiative. We can keep track of coverage data.

Type Of Change

Testing Instructions

Note: For easy testing, I have added trigger type push. That will be removed later on.

Trigger GHA for running Unit Tests by a fake commit to repo. After it finishes, check codecov dashboard to see if code coverage logs are uploaded.

CodeCov Dashboard: https://app.codecov.io/gh/BranchMetrics/ios-branch-deep-linking-attribution/commits?branch=SDK-1790-Codecov-Integration Login Creds: Use Github creds

cc @BranchMetrics/saas-sdk-devs for visibility.

codecov[bot] commented 1 year ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@f98aedf). Click here to learn what that means. The diff coverage is n/a.

:exclamation: Current head 3d7385e differs from pull request most recent head aaeeb52. Consider uploading reports for the commit aaeeb52 to get more accurate results

@@            Coverage Diff            @@
##             master    #1258   +/-   ##
=========================================
  Coverage          ?   50.73%           
=========================================
  Files             ?       80           
  Lines             ?    11442           
  Branches          ?     4436           
=========================================
  Hits              ?     5805           
  Misses            ?     5368           
  Partials          ?      269           
NidhiDixit09 commented 1 year ago

@echo-branch A minor change. I have updated GHA to removed Trigger type "push" for running unit tests. I had added it for easier testing only. Please review and approve it. cc: @nsingh-branch @JagadeeshKaricherla-branch