Skip to content

Commit 4f0eb38

Browse files
committed
ci matrix
1 parent 7ee85ad commit 4f0eb38

1 file changed

Lines changed: 12 additions & 3 deletions

File tree

.github/workflows/Lint-and-test.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,27 @@ on:
1212

1313
jobs:
1414
call-workflow:
15+
strategy:
16+
matrix:
17+
version: ['3.12', '3.13', '3.14']
18+
os: ["ubuntu-latest", "windows-latest"]
1519
uses: ISISComputingGroup/reusable-workflows/.github/workflows/linters.yml@main
1620
with:
1721
compare-branch: origin/main
18-
python-ver: '3.12'
22+
python-ver: ${{ matrix.version }}
23+
runs-on: ${{ matrix.runs-on }}
1924
tests:
20-
runs-on: ubuntu-latest
25+
strategy:
26+
matrix:
27+
version: ['3.12', '3.13', '3.14']
28+
os: ["ubuntu-latest", "windows-latest"]
29+
runs-on: ${{ matrix.os }}
2130
steps:
2231
- uses: actions/checkout@v6
2332
- name: Install uv and set the python version
2433
uses: astral-sh/setup-uv@v7
2534
with:
26-
python-version: "3.12"
35+
python-version: ${{ matrix.runs-on }}
2736
- name: Install dependencies
2837
run: uv sync --all-extras --dev
2938
- name: Test with pytest

0 commit comments

Comments
 (0)