-
-
Notifications
You must be signed in to change notification settings - Fork 823
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
Conversation
| - name: Upload test results to Codecov | ||
| uses: codecov/test-results-action@v1 | ||
| with: | ||
| files: test-results.xml |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ping @katia-sentry - did you see my feedback?
Enable JUnit XML generation for `native_tests` and `windows_tests` to allow Codecov to process test analytics. Upload the generated `test-results.xml` using `codecov/test-results-action`. The upload step uses `if: !cancelled()` to ensure results are uploaded even if tests fail (to analyze failures), but skipped if the workflow is explicitly cancelled. Originally brought up in PR borgbackup#8752 by @katia-sentry, but missed the !cancelled() check.
|
Superceded by #9293. |
Enable JUnit XML generation for `native_tests` and `windows_tests` to allow Codecov to process test analytics. Upload the generated `test-results.xml` using `codecov/test-results-action`. The upload step uses `if: !cancelled()` to ensure results are uploaded even if tests fail (to analyze failures), but skipped if the workflow is explicitly cancelled. Originally brought up in PR borgbackup#8752 by @katia-sentry, but missed the !cancelled() check.
Enable JUnit XML generation for `native_tests` and `windows_tests` to allow Codecov to process test analytics. Upload the generated `test-results.xml` using `codecov/codecov-action`. The upload step uses `if: !cancelled()` to ensure results are uploaded even if tests fail (to analyze failures), but skipped if the workflow is explicitly cancelled. Originally brought up in PR borgbackup#8752 by @katia-sentry, but missed the !cancelled() check.
Enable JUnit XML generation for `native_tests` and `windows_tests` to allow Codecov to process test analytics. Upload the generated `test-results.xml` using `codecov/codecov-action`. The upload step uses `if: !cancelled()` to ensure results are uploaded even if tests fail (to analyze failures), but skipped if the workflow is explicitly cancelled. Originally brought up in PR borgbackup#8752 by @katia-sentry, but missed the !cancelled() check. Also: upgrade to codecov-action@v5.
Enable JUnit XML generation for `native_tests` and `windows_tests` to allow Codecov to process test analytics. Upload the generated `test-results.xml` using `codecov/codecov-action`. The upload step uses `if: !cancelled()` to ensure results are uploaded even if tests fail (to analyze failures), but skipped if the workflow is explicitly cancelled. Originally brought up in PR borgbackup#8752 by @katia-sentry, but missed the !cancelled() check. Also: upgrade to codecov-action@v5.
Enable JUnit XML generation for `native_tests` and `windows_tests` to allow Codecov to process test analytics. Upload the generated `test-results.xml` using `codecov/codecov-action`. The upload step uses `if: !cancelled()` to ensure results are uploaded even if tests fail (to analyze failures), but skipped if the workflow is explicitly cancelled. Originally brought up in PR borgbackup#8752 by @katia-sentry, but missed the !cancelled() check. Also: upgrade to codecov-action@v5.
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.
Changes
Looking forward to your feedback!