mirror of
https://github.com/actions/setup-python.git
synced 2025-04-24 15:32:13 +00:00
Add test
This commit is contained in:
parent
7c49ba0e44
commit
34240e253f
1 changed files with 27 additions and 0 deletions
27
.github/workflows/test-python.yml
vendored
27
.github/workflows/test-python.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue