pytest icon indicating copy to clipboard operation
pytest copied to clipboard

[TODO] Upload JUnit reports to Codecov

Open webknjaz opened this issue 1 year ago • 12 comments

TL;DR Today, I saw this: https://app.codecov.io/gh/pytest-dev/pytest/tests/new. I believe, it'd be useful to make tests results displayed there. Not sure when I get to this, so feel free to grab this task, it should be easy enough.

webknjaz avatar Aug 05 '24 16:08 webknjaz

Hey @webknjaz! Hope you're having a nice Thursday wherever you're based. I'd like to help here. I'm not entirely sure what is expected to be added to the current tests.yaml file.

YamiTL avatar Aug 15 '24 23:08 YamiTL

Are you able to see the instructions on the linked web page?

webknjaz avatar Aug 16 '24 03:08 webknjaz

Hey @webknjaz I want to pick up this issue.

AshishRP94 avatar Aug 21 '24 22:08 AshishRP94

The instructions mention using a legacy test report format, which I'd put into https://github.com/pytest-dev/pytest/blob/9515dfa/pyproject.toml#L324-L395 as junit_family = "xunit1".

webknjaz avatar Sep 14 '24 17:09 webknjaz

Hi, has this issue been fulfilled? Thanks

bencondemi avatar Nov 18 '24 17:11 bencondemi

nope

webknjaz avatar Nov 18 '24 18:11 webknjaz

Has this issue been completed? If not I would like to begin work on this as my first issue. Thank you

bri-harris avatar May 29 '25 18:05 bri-harris

Has this issue been completed? If not I would like to begin work on this as my first issue. Thank you

There was an attempt to address this in https://github.com/pytest-dev/pytest/pull/13363, but it was closed before merging.

Feel free to take a look and give it a try!

nicoddemus avatar May 31 '25 11:05 nicoddemus

Hello, may I be assigned to this issue? I love pytest and have some infra experience but this would be my first contribution to this repo. Edit: Thanks! I'll keep you posted on my progress

aleguy02 avatar Sep 07 '25 21:09 aleguy02

eager for feedback to start iterating if needed :D

aleguy02 avatar Oct 02 '25 06:10 aleguy02

Following up on this @webknjaz

aleguy02 avatar Nov 05 '25 15:11 aleguy02

@aleguy02 review posted. Thanks for working on this!

webknjaz avatar Nov 08 '25 00:11 webknjaz