Skip to content

Add Codecov Test Analytics #8752

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: master
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

  1. Updated test run command to include --junitxml=test-results.xml so Codecov can parse test analytics.
  2. Added codecov/test-results-action@v1 step to upload the generated test-results.xml for Test Analytics.

Looking forward to your feedback!

Comment on lines +118 to +121
- name: Upload test results to Codecov
uses: codecov/test-results-action@v1
with:
files: test-results.xml
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the PR!

the docs you linked talk about using !cancelled() here to make sure it gets executed even if tests fail.

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