Rerun failed tests - CircleCI Docs

How to rerun only failed tests in a job and optimize credit usage.