Giter Site home page Giter Site logo

Code coverage in CI about rs-matter HOT 2 OPEN

project-chip avatar project-chip commented on August 11, 2024
Code coverage in CI

from rs-matter.

Comments (2)

simlay avatar simlay commented on August 11, 2024

So, after a little bit of trying out cargo-llvm-cov, which I really like, I think this may require a bit of refactoring of CI should you want to use cargo-llvm-cov.

According to the README, one can merge different coverages based on features. The issue with this is that the different crypto backends are three different workflows (three links, for the three workflows, I'm not being passive aggressive or anything).

On a recent code sample I used codecov.io/, I was pleased how nicely it consumed the reports from cargo-llvm-cov with minimal CI addition. One can add the ability for it to comment on the PR but that could get annoying. I don't think using cargo-llvm-cov would force one into just using codecov.io though. The tooling has an --html option. It depends on how one wants the badge to be displayed.

Anyway, if it's reasonable, I'd suggest refactoring the three crypto backend CI's into one CI that:

from rs-matter.

simlay avatar simlay commented on August 11, 2024

I randomly found myself looking at this issue last week and decided to try out some new tools for my CI for work without relying on external websites like codecov.io (I think it was recently acquired). Some actions I found useful are:

This is an example of what I've got with merging multiple lcov's (from swift and rust tests) and turning them into a Job Summary

from rs-matter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.