Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update python version as list #145

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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