This commit is contained in:
Kazuhiro Masuda 2025-06-20 22:58:59 +01:00 committed by GitHub
commit 4048a0d7a4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 56 additions and 4 deletions

View file

@ -505,3 +505,30 @@ jobs:
}
$pythonVersion
shell: pwsh
setup-python-version-required:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
[
macos-latest,
windows-latest,
ubuntu-22.04,
ubuntu-22.04-arm,
ubuntu-24.04-arm,
ubuntu-latest,
macos-13
]
steps:
- uses: actions/checkout@v4
- name: Setup Python
id: setup-python
uses: ./
env:
PYTHON_VERSION_REQUIRED: true
continue-on-error: true
- name: Validate failure
if: steps.setup-python.outcome != 'failure'
run: exit 1