Make GHA test-reports upload regex more permissive (#58250)
Summary:
Currently, our test stats [uploaded to S3](https://s3.console.aws.amazon.com/s3/buckets/ossci-metrics?prefix=test_time/fee7e8b91d4434b976a339330bfa89bd827ab9ec/&showversions=false) by GitHub Actions are missing the reports from `test/custom_backend/test_custom_backend.py` and `test/custom_operator/test_custom_ops.py`. From [this log](https://github.com/pytorch/pytorch/runs/2573747177), we know that those tests are indeed being run, but the artifact on that workflow run shows that the XML files are currently not being uploaded for use in the render-test-results job. This PR makes the regex for that artifact upload more permissive.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/58250
Test Plan:
For context, before this PR, the test-reports artifact of Linux CI (pytorch-linux-xenial-py3.6-gcc5.4) before this PR looks like this:
- `test-reports`
- `cpp-rpc`
- ...
- `cpp-unittest`
- ...
- `dist-gloo`
- ...
- `python-unittest`
- ...
Wait for Linux CI (pytorch-linux-xenial-py3.6-gcc5.4) to run on this PR, then download and unzip the test-reports artifact and check that its directory structure looks like this:
- `custom_backend`
- `test-reports`
- `python-unittest`
- ...
- `custom_operator`
- `test-reports`
- `python-unittest`
- ...
- `test-reports`
- `cpp-rpc`
- ...
- `cpp-unittest`
- ...
- `dist-gloo`
- ...
- `python-unittest`
- ...
Also, [this run](https://github.com/pytorch/pytorch/runs/2579875947) shows the following line of output, which is exactly what we would expect to see if this PR correctly adds the 9 tests across `custom_backend` and `custom_operator`:
> ```
> Added (across 2 suites) 9 tests, totaling + 0.10s
> ```
Reviewed By: walterddr
Differential Revision: D28442396
Pulled By: samestep
fbshipit-source-id: 893a397a8e701e4180e1812d6f83352b5920ced6