Skip to content

Commit

Permalink
Merge pull request #145 from sravs-dev/update_python_version
Browse files Browse the repository at this point in the history
update python version as list
  • Loading branch information
cognifloyd committed Dec 5, 2023
2 parents 09e6a8c + 7a08bbc commit f6a25f5
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/pack-build_and_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
python-version:
required: false
type: string
default: "3.6"
default: '["3.6","3.8","3.9"]'
enable-common-libs:
description: |
When true, use an st2.conf that sets packs.enable_common_libs=true
Expand All @@ -39,12 +39,11 @@ jobs:
build_and_test:
runs-on: ubuntu-20.04
# When parent workflow is named "Build and Test" this shows up as:
# "Build and Test / Python 3.6"
# "Build and Test / Python 3.6,3.8,3.9"
name: 'Python ${{ matrix.python-version }}'
strategy:
matrix:
include:
- python-version: ${{ inputs.python-version }}
python-version: ${{ fromJSON(inputs.python-version) }}
steps:
- name: Checkout Pack Repo and CI Repos
uses: StackStorm-Exchange/ci/.github/actions/checkout@master
Expand Down

0 comments on commit f6a25f5

Please sign in to comment.