Skip to content

Add Codecov Test Analytics #14874

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

katia-sentry
Copy link

This PR sets up Codecov Test Analytics, which enhances this project's existing Codecov coverage PR notification with details about failing, flaky, and slow tests. More details can be found here, and below is an example screenshot.

Test Results

Changes

  • Add --junitxml=test-results.xml to the existing pytest command to export test results.
  • Add a new step using codecov/test-results-action@v1 to upload the test-results.xml file to Codecov.

Looking forward to your feedback!

@katia-sentry katia-sentry changed the title add test analytics Add Codecov Test Analytics Apr 14, 2025
@katia-sentry
Copy link
Author

@krassowski would this tool be helpful for your team? Looking forward to your feedback

@krassowski
Copy link
Member

Note sure, the screenshot does not show up for me:

image

There errors on CI appear related:

ParserError: D:\a\_temp\2f0c0ab3-7f1d-4319-9f98-658223f30a91.ps1:3
Line |
   3 |  --cov --cov-report=xml --junitxml=test-results.xml \
     |    ~
     | Missing expression after unary operator '--'.

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

Successfully merging this pull request may close these issues.

2 participants