Pass attempt label to JUnit output to distinguish test retries #2638
Workflow file for this run
This file contains hidden or 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
| # Copyright (c) Microsoft Corporation. | |
| # Use of this source code is governed by a BSD-style | |
| # license that can be found in the LICENSE file. | |
| # This job tests that the patches apply cleanly, and nothing else. The goal is to test this as | |
| # quickly as possible. This job is a good signal for devs: GitHub Actions is quick to get an agent, | |
| # so when this job fails, it's easy to see, and clear to the dev that the rest of the PR's jobs | |
| # aren't going to succeed and can be ignored. | |
| # | |
| # Ideally, failure of this job would block the tests from running, because it would be a waste of | |
| # time to hit the patch failure N times. However, the actual tests run in AzDO, so we can't | |
| # reasonably cancel them from here (GitHub Actions). | |
| # The "0:" prefix makes this workflow's checks sort above the alphabetical AzDO stage names on the | |
| # PR checks list, so patch failures are immediately visible without scrolling. | |
| name: "0: Test" | |
| on: | |
| pull_request: | |
| branches: [ microsoft/* ] | |
| # Cancel existing runs if user makes another push. | |
| concurrency: | |
| group: "${{ github.ref }}-${{ github.workflow}}" | |
| cancel-in-progress: ${{ github.event_name == 'pull_request' }} | |
| jobs: | |
| check_patches: | |
| name: Patches Apply Cleanly | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - run: pwsh eng/run.ps1 submodule-refresh -shallow |