Skip to content

test: run simplecov on all frameworks using collated reports#2136

Open
thompson-tomo wants to merge 26 commits intoopen-telemetry:mainfrom
thompson-tomo:patch-5
Open

test: run simplecov on all frameworks using collated reports#2136
thompson-tomo wants to merge 26 commits intoopen-telemetry:mainfrom
thompson-tomo:patch-5

Conversation

@thompson-tomo
Copy link
Copy Markdown
Contributor

@thompson-tomo thompson-tomo commented Mar 28, 2026

This ensures test coverage is meet on all frameworks to avoid potential issues when bumping min frameworks. This also addresses that the min coverage is not actually currently being enforced due to coverage only being set after the tests have run.

To Address failures due to insufficient coverage the min coverage is being overwritten using a yml file in the working directory. This ensures the definition of that gem and all required inputs resides within the gem folder and pr's can be appropriately labelled.

Here is an example of where the min coverage was not meet (increased for testing to 99) but check still passed: https://github.com/open-telemetry/opentelemetry-ruby-contrib/actions/runs/23683365227/job/68998870234?pr=2136.
image

See after changes, with the key being the % is now correct
image

@github-actions github-actions bot added the ci label Mar 28, 2026
@thompson-tomo thompson-tomo changed the title test: run simplecov on all frameworks test: run simplecov on all frameworks using collated dat Mar 28, 2026
@thompson-tomo thompson-tomo changed the title test: run simplecov on all frameworks using collated dat test: run simplecov on all frameworks using collated reports Mar 28, 2026
@thompson-tomo
Copy link
Copy Markdown
Contributor Author

Anthropic addressed via #2137

@thompson-tomo thompson-tomo marked this pull request as draft April 6, 2026 10:17
@thompson-tomo thompson-tomo marked this pull request as ready for review April 7, 2026 14:40
Copy link
Copy Markdown
Contributor

@kaylareopelle kaylareopelle left a comment

Choose a reason for hiding this comment

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

Thanks for noticing this and fixing it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants