| 1 | # Copyright (c) 2021-2022 Chris Reed |
| 2 | # Copyright (c) 2026 Arm Limited |
| 3 | |
| 4 | # pyocd workflow to fill in for the skipped 'basic test' workflow for docs updates. Without this, |
| 5 | # the required 'basic test' workflow will not have run and therefore docs PRs won't be mergeable. |
| 6 | # |
| 7 | # See this documentation for more about the need for this workaround: https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks#handling-skipped-but-required-checks |
| 8 | |
| 9 | name: basic test |
| 10 | |
| 11 | on: |
| 12 | pull_request: |
| 13 | paths: |
| 14 | - 'docs/**' |
| 15 | |
| 16 | jobs: |
| 17 | build: |
| 18 | # Note: this must have the same runs-on and strategy as the actual 'basic test' workflow, or |
| 19 | # the workflow names will not match. |
| 20 | runs-on: ${{ matrix.os }} |
| 21 | strategy: |
| 22 | matrix: |
| 23 | os: |
| 24 | - ubuntu-latest |
| 25 | - macos-latest |
| 26 | - windows-latest |
| 27 | python-version: |
| 28 | - "3.9" |
| 29 | - "3.10" |
| 30 | - "3.11" |
| 31 | - "3.12" |
| 32 | - "3.13" |
| 33 | - "3.14" |
| 34 | |
| 35 | steps: |
| 36 | - run: 'echo "Skipped due to path filter."' |