Closed zjp-CN closed 10 months ago
This won't fix https://github.com/josecelano/cargo-pretty-test/issues/46 , but helps to solve the current failed snapshot test which is caused by random execution order and thus potential trailing newlines.
And this PR also redirects stderr to $GITHUB_STEP_SUMMARY in case any error occurs and we want to see the exact failure in that round.
$GITHUB_STEP_SUMMARY
This won't fix https://github.com/josecelano/cargo-pretty-test/issues/46 , but helps to solve the current failed snapshot test which is caused by random execution order and thus potential trailing newlines.
And this PR also redirects stderr to
$GITHUB_STEP_SUMMARY
in case any error occurs and we want to see the exact failure in that round.