Shami announced his retirement from Test cricket, bringing an end to a career that saw him become one of India's most dependable fast bowlers across conditions and on the biggest stages.