Skip to content

Commit d50b9da

Browse files
committed
Add multiple python versions to CI.
1 parent 47261c7 commit d50b9da

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,22 @@ jobs:
1919

2020
lint-checks:
2121
needs: pre_job
22-
name: Make requirements and lint check on Python3.10
22+
name: Make requirements and lint checks
2323
runs-on: ubuntu-22.04
24+
strategy:
25+
matrix:
26+
python-version: ["3.8", "3.9", "3.10", "3.11"]
2427
steps:
2528
- name: Checkout st2tests repository
2629
uses: actions/checkout@v2
2730
- name: Checkout st2 repository
2831
uses: actions/checkout@v2
2932
with:
3033
repository: "StackStorm/st2"
31-
- name: Set up Python3.10
34+
- name: "Set up Python ${{ matrix.python-version }}"
3235
uses: actions/setup-python@v4
3336
with:
34-
python-version: '3.10.12'
37+
python-version: "${{ matrix.python-version }}"
3538
- name: Install apt dependencies
3639
run: |
3740
sudo apt install -y libldap2-dev libsasl2-dev

0 commit comments

Comments
 (0)