Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display coverage doc/test result on gitlab badges #50

Open
kelvinheng92 opened this issue Nov 22, 2022 · 3 comments
Open

Display coverage doc/test result on gitlab badges #50

kelvinheng92 opened this issue Nov 22, 2022 · 3 comments

Comments

@kelvinheng92
Copy link

Hi team,

I am wondering whether it is already possible for me to display the coverage doc/test result as a percentage on gitlab badges. Please see similar example for python unit test below
image

Thank you

@mrshu
Copy link
Contributor

mrshu commented Nov 22, 2022

Hi @kelvinheng92, would you mind sharing what is the URL of the coverage image in your picture? I think we could make dbt-coverage work in such a way, but it will take a bit of work to get there 🙂

Thanks!

@kelvinheng92
Copy link
Author

It seems to be auto-generated by pytest runs.
image

@mrshu
Copy link
Contributor

mrshu commented Nov 22, 2022

Thanks @kelvinheng92, that's interesting.

Do you think that outputting the report in the Cobertura XML format (as mentioned in #39) might be enough to do this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants