Coder Social home page Coder Social logo

Comments (4)

tennlee avatar tennlee commented on July 1, 2024 1

That makes sense. I'm aware of the third-party approached to coverage reporting. They provide some nice additional features, but it's also an additional technology to maintain. I'm open to it, but let's have that discussion about what we want after closing out the current issue?

from scores.

aidanjgriffiths avatar aidanjgriffiths commented on July 1, 2024 1

@John-Sharples I fixed the no coverage collected issue in #87. It had to do with requiring an editable install as pytest-cov points to the local repo files instead of the installation files in /usr/bin or venv. Somehow coverage manages this case where `pytest-cov doesn't.

As for badges, I had a look at how to implement badges in actions and it is such a stuff around compared to gitlab that I don't even want to try 😄.

As for this I think we could close this issue since pre-commit and tests have been implemented in the develop pipeline already.

from scores.

tennlee avatar tennlee commented on July 1, 2024

Looks like a great start, but where does the coverage report end up? I couldn't work out how to actually put the output report somewhere in a nicely viewable way. It's worthwhile regardless, but it would be ncie to have easily viewable results

from scores.

John-Sharples avatar John-Sharples commented on July 1, 2024

These changes just get the coverage working. Currently pytest raises this warning CoverageWarning: No data was collected. (no-data-collected) and there's no coverage reported. I've added an extra task to specifically report coverage in the job output, so you can click through and find it there.

If we want to adopt a third party tool to make it a bit more visible, there's several options, eg:

Happy to work on adding one of these too, if we can decide what we want.

from scores.

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.