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

CI: only store the final report file as test result. #4434

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

JayShortway
Copy link
Member

@JayShortway JayShortway commented Nov 1, 2024

Note: this is not yet working as expected, hence the draft status.

Motivation

Sometimes CircleCI reports failed tests for a successful job. We deduced that this happens because all report files are uploaded as test results, including reports of test runs that were later retried. This causes CircleCI to parse that earlier report and show a failed test, even though the test eventually passed.

Changes introduced

This PR changes the store_test_results command where applicable, to only pass the final report file. The entire test_output directory is still uploaded as an artifact, to help with debugging actual failures.

@JayShortway JayShortway self-assigned this Nov 1, 2024
@JayShortway
Copy link
Member Author

@RCGitBot please test

@JayShortway
Copy link
Member Author

@RCGitBot please test

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

Successfully merging this pull request may close these issues.

1 participant