Coverage CI

Open
#882 0 comments 1 reaction 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Active
Tech stack
c, github-actions
Domain
ci-cd, testing-qa

Research direction

Start with .github/workflows/benchmark.yml and the existing coverage target, then review the coverage-related results in the linked repository code search. Define the supported platforms and baseline threshold before implementing publishing and failure checks. Done means coverage is published, the threshold is enforced, and the dlopen-related coverage behavior has been reviewed.

Written by the indexing model from the issue text.

Description

enhancement github_actions

🚀 Feature

We need a coverage CI like this one: https://github.com/metacall/core/blob/develop/.github/workflows/benchmark.yml

But for publishing the coverage information.

Right now we already support the coverage target but it's not being published anywhere, and I think it's only supported in Linux, it may be interesting if it can be extended to Windows and MacOS and then published.

Ut will be also interesting to make it fail if the % of the coverage goes lower than the current baseline. For example 60% covered.

Apart from that, I think the current implementation may be buggy due to dlopen mechanism we use on the plugins, we should review that in depth.

For more information check this out: https://github.com/search?q=repo%3Ametacall%2Fcore+coverage&type=code

Dominant language
C
Stars
1.8k
Forks
266
Avg merge
2d 16h
Merged PRs (30d)
14

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from metacall/core

All issues in metacall/core

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.