Skip to content

Check specific version #8

Check specific version

Check specific version #8

Workflow file for this run

name: Check specific version
on:
workflow_dispatch:
inputs:
python-version:
required: true
description: Specific version to check
type: string
allow-prereleases:
required: true
default: false
description: Include prereleases in the check
type: boolean
jobs:
test_python_build:
runs-on: ${{ matrix.os }}
name: Test build Python ${{ inputs.python-version }} for ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive
- name: Test action with Python ${{ inputs.python-version }}
id: build
uses: MatteoH2O1999/setup-python@master
with:
python-version: ${{ inputs.python-version }}
allow-build: info
allow-prereleases: ${{ inputs.allow-prereleases }}
- name: Check Python version
run: python ./.github/scripts/check_python_version.py ${{ inputs.python-version }}