Repository navigation
[CI] Add lightweight PR checks and benchmark test coverage (#17, #18) - #23
Merged
Merged
Conversation
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR adds lightweight GitHub Actions validation to the OpenMS-benchmarking repository, addressing the absence of automated pull-request checks and the fact that the existing benchmark test suites were not being executed by any workflow.
Changes:
.github/workflows/pr-checks.yml, triggered onpull_requestand pushes tomain.contents: read).tests/validate_ci_test_coverage.pyto ensure every trackedbenchmark/test_*.pyfile is accounted for in the workflow's explicit test list.The coverage guard deliberately does not execute newly discovered tests automatically. New test files must be explicitly reviewed and either added to the lightweight CI list or documented as deliberate exclusions.
Related issues:
Closes #17
Closes #18
Checklist
Make sure that you are listed in the AUTHORS file (The target repository does not currently contain an AUTHORS file, so this item appears not to be applicable.)
I have commented my code, particularly in hard-to-understand areas
New and existing unit tests pass locally with my changes
Updated or added python bindings for changed or new classes (No Python binding updates were necessary.)
No CHANGELOG entry needed (The target repository contains no CHANGELOG file; the upstream note about entries being generated automatically once per week applies to OpenMS/OpenMS.)
Validation performed
The following checks passed locally:
python benchmark/validate_definitions.pypython tests/validate_ci_test_coverage.pypython benchmark/test_openswath_metrics.pypython benchmark/test_prose_metrics.pypython benchmark/test_proteobench_compare.pypython benchmark/report/test_generic_renderer.pypython benchmark/report/test_v2_schema.pybash -nchecks for allbenchmark/*.shandtests/*.shscriptsbash tests/test_id_validation.shbash tests/test_dispatch_step.shactionlint .github/workflows/pr-checks.ymlgit diff --checkThe coverage guard was additionally tested against simulated missing, stale, duplicated, out-of-scope, nested, and stale-exclusion scenarios.
CI status: These checks were executed locally. A GitHub-hosted Actions run has not yet been verified; it will be evaluated after the PR is opened.
How can I get additional information on failed tests during CI
Click to expand
If your PR is failing you can check out
Advanced commands (admins / reviewer only)
Click to expand