-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move coverage to its own workflow (#1063) (#509)
* Move coverage to its own workflow (#1063) The coverage job does not support sharding and takes ~1h to run. That's ~40 minutes longer than all other linux test runs. By breaking out coverage from the linux workflow we can get unit test results from datadog in less than half the time. b/290997541 * Upload unit test reports to DataDog (#1059) Unit tests produce test results in JUnit xml format. These files can be ingested by DataDog to fuel their CI analysis, unlocking flaky test detection, regressions, platform analysis, and more! The upload must happen in a separately triggered workflow to have access to upload the reports. In a forked PR workflow this access is restricted. Initially reports from unit tests run on-host from linux, evergreen, and win32 will be uploaded. b/290997541
- Loading branch information
Showing
5 changed files
with
51 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: coverage | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- edited | ||
- reopened | ||
- synchronize | ||
push: | ||
branches: | ||
- main | ||
- feature/* | ||
|
||
jobs: | ||
linux-coverage: | ||
# TODO(b/286302961): Move back and re-enable this check once sharding is supported. | ||
# Run on main branch for pushes, PRs and manual invocations. | ||
# if: | | ||
# ${{ github.ref == 'refs/heads/main' && | ||
# (github.event_name == 'push' || | ||
# github.event_name == 'pull_request' || | ||
# (github.event_name == 'workflow_dispatch' && inputs.nightly == 'false')) }} | ||
uses: ./.github/workflows/main.yaml | ||
permissions: | ||
packages: write | ||
pull-requests: write | ||
with: | ||
platform: linux-coverage | ||
nightly: ${{ github.event.inputs.nightly }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters