Skip to content

Commit 0c91292

Browse files
authored
Extend tests to multiple versions and pin action versions (#50)
1 parent 115983e commit 0c91292

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/tests.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,15 @@ on:
99
jobs:
1010
Run-tests:
1111
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
1215
steps:
13-
- uses: actions/checkout@v3
14-
- name: Set up Python 3.11
15-
uses: actions/setup-python@v4
16+
- uses: actions/checkout@v4.1.0
17+
- name: Set up Python ${{ matrix.python-version }}
18+
uses: actions/setup-python@v4.7.1
1619
with:
17-
python-version: 3.11
20+
python-version: ${{ matrix.python-version }}
1821

1922
- name: Run NSIQCppStyle tests
2023
timeout-minutes: 5

0 commit comments

Comments
 (0)