Skip to content

Fail CI when coverage is below the threshold - #46

Merged
NimaSarajpoor merged 2 commits into
stumpy-dev:mainfrom
karthiksenv:codex/enforce-sdp-coverage-threshold
Nov 23, 2026
Merged

NimaSarajpoor merged 2 commits into
stumpy-dev:mainfrom
karthiksenv:codex/enforce-sdp-coverage-threshold

Conversation

@karthiksenv

@karthiksenv karthiksenv commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #41.

test_coverage now passes the coverage report's exit status to check_errs. The run linked in the issue logged 99% coverage and finished green.

Validation

  • A below-threshold run exited 0 on main and 2 with the fix. At full coverage, the patched script exited 0.
  • The full Linux test script passed all 15 tests with JIT enabled and disabled, with 100% coverage.

@gitnotebooks

gitnotebooks Bot commented Nov 17, 2026

Copy link
Copy Markdown

@karthiksenv
karthiksenv marked this pull request as ready for review November 17, 2026 18:56
@karthiksenv

Copy link
Copy Markdown
Contributor Author

Hi @NimaSarajpoor, could you approve the CI run and review this PR when you get a chance? Thanks!

@NimaSarajpoor NimaSarajpoor left a comment •

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@karthiksenv
Welcome to sliding_dot_product, and thanks for submitting the PR! I've left a couple of comments.

Comment thread test.sh Resolved
Comment thread test.sh Resolved
@karthiksenv

Copy link
Copy Markdown
Contributor Author

Hi @NimaSarajpoor, both review suggestions are addressed now. Could you approve CI and take another look when you have a chance? Thanks!

@NimaSarajpoor
NimaSarajpoor merged commit badc48f into stumpy-dev:main Nov 23, 2026
3 checks passed
@NimaSarajpoor

Copy link
Copy Markdown
Collaborator

@karthiksenv
Merged. Thanks for the contribution!

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.

Raise error in Github Actions when coverage is below the considered threshold

2 participants