Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: renovate check last pr issue #425

Merged
merged 1 commit into from
Oct 19, 2023

Conversation

Syed-Ali-Abbas-Zaidi
Copy link
Contributor

@Syed-Ali-Abbas-Zaidi Syed-Ali-Abbas-Zaidi commented Oct 18, 2023

Description:

Currently, the renovate Last PR check is not working properly for the openedx repos. This PR fixes the issue related to the renovate check.

Merge checklist:

  • Changelog record added
  • Documentation updated (not only docstrings)
  • Commits are squashed

@Syed-Ali-Abbas-Zaidi Syed-Ali-Abbas-Zaidi self-assigned this Oct 18, 2023
@codecov
Copy link

codecov bot commented Oct 18, 2023

Codecov Report

Attention: 8 lines in your changes are missing coverage. Please review.

Comparison is base (48efde9) 82.09% compared to head (05dce90) 81.72%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #425      +/-   ##
==========================================
- Coverage   82.09%   81.72%   -0.38%     
==========================================
  Files          24       24              
  Lines        1296     1302       +6     
==========================================
  Hits         1064     1064              
- Misses        232      238       +6     
Flag Coverage Δ
unittests 81.72% <0.00%> (-0.38%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
repo_health/check_renovate.py 46.00% <0.00%> (-6.28%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Syed-Ali-Abbas-Zaidi Syed-Ali-Abbas-Zaidi force-pushed the Ali-Abbas/fix-renovate-last-pr-check branch 2 times, most recently from e08b93d to 74f9bd0 Compare October 18, 2023 12:12
@Syed-Ali-Abbas-Zaidi Syed-Ali-Abbas-Zaidi force-pushed the Ali-Abbas/fix-renovate-last-pr-check branch from 74f9bd0 to 05dce90 Compare October 18, 2023 12:14
@awais786
Copy link
Contributor

its failing on coverage.

@Syed-Ali-Abbas-Zaidi
Copy link
Contributor Author

its failing on coverage.

That's because these functions are mocked in unit tests. So the existing code inside these functions is already uncovered by test cases and any new addition to these functions also remains uncovered, which causes the failure of coverage.

@Syed-Ali-Abbas-Zaidi Syed-Ali-Abbas-Zaidi merged commit 3af58fb into master Oct 19, 2023
3 of 5 checks passed
@Syed-Ali-Abbas-Zaidi Syed-Ali-Abbas-Zaidi deleted the Ali-Abbas/fix-renovate-last-pr-check branch October 19, 2023 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants