Skip to content

Commit 8f1216d

Browse files
Use matrix for Python version
1 parent 7d56c83 commit 8f1216d

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/python-app.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,22 @@ permissions:
2121

2222
jobs:
2323
Test:
24-
runs-on: ubuntu-latest
24+
strategy:
25+
matrix:
26+
# Python 3.10 -- earliest supported version
27+
# Python 3.11 -- version on CSE systems
28+
# Python 3.13 -- latest supported version
29+
python-version: ['3.10', '3.11', '3.13']
30+
os: ['ubuntu-latest', 'windows-latest', 'macos-latest']
31+
runs-on: ${{ matrix.os }}
2532
steps:
2633
- uses: actions/checkout@v4
2734
with:
2835
submodules: 'recursive'
2936
- name: Set up Python
3037
uses: actions/setup-python@v5
3138
with:
32-
python-version: '3.10'
39+
python-version: ${{ matrix.python-version }}
3340
- uses: Gr1N/setup-poetry@v9
3441
- uses: actions/cache@v4
3542
with:

0 commit comments

Comments
 (0)