Closed zjp-CN closed 1 year ago
This is an example:
@zjp-CN do you want to add this to the README? or create a docs folder?
Yes, and it's already there. https://github.com/josecelano/cargo-pretty-test/commit/08b0638dd35d8e5a536f54f9631198f4914f424e
Yes, and it's already there. 08b0638
Cool! So I suppose we can close this issue.
cargo install cargo-pretty-test
--color=always
to force print in color: e.g.cargo pretty-test --color=always
(demo)Use
--color=never
(to prevent escape chars) and$GITHUB_STEP_SUMMARY
to print testing result in workflow summary (demo) Note:$GITHUB_STEP_SUMMARY
will take the input as GFM (a markdown format), so you should put the result in text mode, like