Skip to content

Converts a database of coveragepy coverage information into a dict for /repos/{owner}/{repo}/check-runs GitHub REST API

License

Notifications You must be signed in to change notification settings

KOLANICH-libs/coverage2GHChecksAnnotations.py

Repository files navigation

coverage2GHChecksAnnotations.py Unlicensed work

Libraries.io Status Code style: antiflash

We have moved to https://codeberg.org/KOLANICH-libs/coverage2GHChecksAnnotations.py (the namespace has changed to KFmts, which groups packages related to parsing or serialization), grab new versions there.

Under the disguise of "better security" Micro$oft-owned GitHub has discriminated users of 1FA passwords while having commercial interest in success and wide adoption of FIDO 1FA specifications and Windows Hello implementation which it promotes as a replacement for passwords. It will result in dire consequencies and is competely inacceptable, read why.

If you don't want to participate in harming yourself, it is recommended to follow the lead and migrate somewhere away of GitHub and Micro$oft. Here is the list of alternatives and rationales to do it. If they delete the discussion, there are certain well-known places where you can get a copy of it. Read why you should also leave GitHub.


Transforms coverage info from coveragepy database into a dict with GitHub annotations to be sent to /repos/{owner}/{repo}/check-runs endpoint.

It registers 2 console commands:

  • coverage2GHChecksAnnotations <coverage database file> <project name> <root dir of the project to generate relative paths> generates the dict.

  • coverageReportGHChecksAnnotations <coverage database file> <project name> <root dir of the project to generate relative paths> not just generates the dict, but also sends the data to GitHub using miniGHAPI lib.

for convenience we have a GitHub Action doing this.

About

Converts a database of coveragepy coverage information into a dict for /repos/{owner}/{repo}/check-runs GitHub REST API

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages