Skip to content

Commit 57def1b

Browse files
committed
CI: test all three target platforms
1 parent 11d27ad commit 57def1b

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,19 @@ on:
1212

1313
jobs:
1414
build:
15-
runs-on: ubuntu-latest
15+
runs-on: ${{ matrix.os }}
16+
strategy:
17+
matrix:
18+
os: [ubuntu-latest, windows-latest, macos-latest]
19+
python-version: ["3.10", "3.13"]
1620

1721
steps:
1822
- uses: actions/checkout@v4
1923

2024
- name: Set up Python
2125
uses: actions/setup-python@v5
2226
with:
23-
python-version: "3.10"
27+
python-version: ${{matrix.python-version}}
2428

2529
- name: Set up Java
2630
uses: actions/setup-java@v4
@@ -34,9 +38,11 @@ jobs:
3438
python -m pip install uv
3539
3640
- name: Run the tests
41+
shell: bash
3742
run: |
3843
bin/test.sh
3944
4045
- name: Lint the code
46+
shell: bash
4147
run: |
4248
bin/lint.sh

0 commit comments

Comments
 (0)