Skip to content
This repository has been archived by the owner on Nov 25, 2022. It is now read-only.

Commit

Permalink
[CI] Deduplicate and clean XML test reports (apache#12332)
Browse files Browse the repository at this point in the history
This PR does the following:
- When running on a shard,  removes the tests that will not run on the current shard from the suite. We'll no longer get the message `Test running on shard X of Y` in the XML reports. This will result in cleaner test reports.
- Adds the shard index or `no-shard` to the generated XML report file name. Currently, the reports generated when sharding is present are overwritten in S3 by the last shard to finish in the CI pipeline. This change is needed as part of apache#11670.
- Since the same tests might run on different configurations (CPU, GPU), it uploads the result of each configuration in a subdirectory in S3 (e.g `/pytest-results/frontend_aarch64`).
  • Loading branch information
gigiblender authored and xinetzone committed Nov 25, 2022
1 parent 4f6bd28 commit 5c5facc
Show file tree
Hide file tree
Showing 4 changed files with 75 additions and 66 deletions.
Loading

0 comments on commit 5c5facc

Please sign in to comment.