Skip to content

Commit 7ffb4a4

Browse files
author
Victor Machado
committed
matrix of python versions
1 parent 33a03fe commit 7ffb4a4

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

Diff for: .github/workflows/test-credentials.yml

+9-2
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,23 @@ on: [push, pull_request]
77
jobs:
88
test-credentials:
99
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
13+
1014
steps:
1115

1216
- uses: actions/checkout@v4
1317
with:
1418
ref: ${{ github.ref }}
1519

16-
- name: Set up Python
20+
- name: Set up Python ${{ matrix.python-version }}
1721
uses: actions/setup-python@v5
1822
with:
19-
python-version: '3.10'
23+
python-version: ${{ matrix.python-version }}
24+
25+
- name: Display Python version
26+
run: python3 -c "import sys; print(sys.version)"
2027

2128
- name: Create and activate virtual environment
2229
run: |

0 commit comments

Comments
 (0)