flask/.github/actions/python-versions/action.yml
David Lord 2d578d8c53
work
2025-06-17 09:55:49 -07:00

26 lines
765 B
YAML

name: get test environments
description: Inspect a Python project and generate a test environment matrix.
inputs:
windows-env:
description: Include a Windows environment with the latest Python version.
required: false
default: 'false'
macos-env:
description: Include a macOS environment with the latest Python version.
required: false
default: 'false'
extra-envs:
description: Add these additional environments to the output.
required: false
default: ''
outputs:
matrix:
description: A JSON list of test environments.
value: ${{ steps.run.outputs.matrix }}
runs:
using: composite
steps:
- name: get test environments
id: run
shell: bash
run: python3 -Iu '${{github.action_path}}/run.py'