ci: add python-versions input parameter to workflow (#3511)
* ci: Add python-versions input parameter to workflow * build: Update CI workflow with additional Python versions and default values. * ci: Update default Python versions in matrix configuration * build: Fix python version matrix generation in workflow
This commit is contained in:
parent
6f0760382e
commit
5e2d9b2c22
2 changed files with 15 additions and 4 deletions
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
|
|
@ -27,9 +27,15 @@ on:
|
|||
description: "Store API Key"
|
||||
required: false
|
||||
type: string
|
||||
python-versions:
|
||||
description: "Python Versions"
|
||||
required: false
|
||||
type: string
|
||||
default: "['3.10']"
|
||||
pull_request:
|
||||
types: [synchronize, labeled]
|
||||
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
|
@ -74,7 +80,7 @@ jobs:
|
|||
if: ${{ needs.path-filter.outputs.python == 'true' || needs.path-filter.outputs.tests == 'true' }}
|
||||
uses: ./.github/workflows/python_test.yml
|
||||
with:
|
||||
python-versions: ${{ inputs.python-versions }}
|
||||
python-versions: ${{ inputs.python-versions || '["3.10"]' }}
|
||||
|
||||
test-frontend:
|
||||
needs: path-filter
|
||||
|
|
@ -117,4 +123,4 @@ jobs:
|
|||
echo $JOBS_JSON
|
||||
echo $RESULTS_JSON
|
||||
echo "Exiting with $EXIT_CODE"
|
||||
exit $EXIT_CODE
|
||||
exit $EXIT_CODE
|
||||
Loading…
Add table
Add a link
Reference in a new issue