Skip to content

How to track type coverage #8127

Answered by orklah
alies-dev asked this question in Q&A
Jun 20, 2022 · 1 comments · 6 replies
Discussion options

You must be logged in to vote

Maybe take a look at shepherd. It's what Psalm use to contact shepherd.dev and store and display widgets you see on: https://shepherd.dev/

The request to shepherd is built in Psalm, but it's possible to override the host name to target any domain.

So, you could receive on your website a payload with the summary of Psalm analysis after each CI run (either you host the whole shepherd repo on it or you just create the same entry point only to receive the datas)

See here how the payload is constructed:

final class Shepherd implements AfterAnalysisInterface

and here to override the host name:

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@AndrolGenhald
Comment options

@orklah
Comment options

orklah Jun 21, 2022
Collaborator

@alies-dev
Comment options

@orklah
Comment options

orklah Jun 28, 2022
Collaborator

@alies-dev
Comment options

Answer selected by alies-dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants