ci: Add workflow to test collect_env.py
This wasn't previously tested but this script is an essential tool that
we use to help users present debug information on issues so we treat it
with a similar level of care
Depends on https://github.com/pytorch/pytorch/pull/74342
Signed-off-by: Eli Uriegas <eliuriegas@fb.com>
Pull Request resolved: https://github.com/pytorch/pytorch/pull/74347
Approved by: https://github.com/janeyx99, https://github.com/malfet