After a build, the artifacts tab shows that the test_results/junit/test-results.xml was uploaded, and if I download it, I can see that it is well-formed. However, Circle still behaves like I didn’t upload anything.
We’re seeing this issue occur when we have both store_artifacts and store_test_results. The test results are stored in the Artifacts section but do not show in the Test Summary section.
The step that runs PHPUnit will return a green. The testcase XML output will be parsed and displayed in the CircleCI interface, however, the build will incorrectly show as green - even if there were test cases that failed.
If however we remove the “echo “done”” line, in an attempt to get the build to show red when the test cases fail:
The build will show as a failed build, but will not display the output of the test cases in the interface. You can see the output in the artifacts but no reporting of the test cases.
Ideally we would like the Build to be marked as failed, and the test cases report to be displayed.
Node and mocha, and I’m having the same issue. I cannot find any specific resolution on similar threads, beyond an ambiguous statement about requiring “timing data”. What does this mean, and where does it specify this in the documentation?
Same issue here with a simple create-react-app and yarn test --coverage. store_artifacts: seems to at least show the artifacts, but setting up the test summary doesn’t seem to work with store_test_results.