Skip to content

Fix CI badge to properly reflect main branch status #476

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

Merged
merged 2 commits into from
May 26, 2025

Conversation

Nick1200000
Copy link
Contributor

@Nick1200000 Nick1200000 commented May 26, 2025

Summary

Fixes the CI badge URL to properly display the status of the main branch only, resolving the issue introduced in #465.

Changes

  • Updated the CI badge URL from /workflows/ci/badge.svg to /actions/workflows/ci.yml/badge.svg
  • This uses the correct GitHub Actions badge format that properly supports branch-specific status

Problem Solved

  • The previous badge URL format didn't reliably show main branch status
  • Badge now consistently reflects CI status of the main branch, not random PR branches
  • Prevents misleading "failing" status when experimental PRs have failing CI

Testing

  • Verified the new badge URL displays correctly
  • Badge shows current main branch CI status (passing)

Closes #474


📚 Documentation preview 📚: https://causalpy--476.org.readthedocs.build/en/476/

Copy link

codecov bot commented May 26, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.67%. Comparing base (89f369f) to head (2b8c05d).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #476   +/-   ##
=======================================
  Coverage   94.67%   94.67%           
=======================================
  Files          32       32           
  Lines        2196     2196           
=======================================
  Hits         2079     2079           
  Misses        117      117           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Nick1200000
Copy link
Contributor Author

Hi @drbenvincent , please merge it, Thank you!

Copy link
Collaborator

@drbenvincent drbenvincent left a comment

Choose a reason for hiding this comment

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

Thanks @Nick1200000 :)

@drbenvincent drbenvincent added the devops DevOps related label May 26, 2025
@drbenvincent drbenvincent merged commit 4a1ad55 into pymc-labs:main May 26, 2025
10 checks passed
@Nick1200000
Copy link
Contributor Author

@drbenvincent , if you need any support for Devops feel free to reach out to me

@drbenvincent drbenvincent added documentation Improvements or additions to documentation and removed devops DevOps related labels May 26, 2025
@drbenvincent
Copy link
Collaborator

Changed PR label to make the release notes for 0.4.2 more coherent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix the CI status badge
2 participants