Skip to content

Commit e5c8a05

Browse files
authored
chore(sdk): add test matrix (#1705)
Signed-off-by: Radek Ježek <[email protected]>
1 parent ae7b0ad commit e5c8a05

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

.github/workflows/sdk-py-test.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ on:
1616
jobs:
1717
agentstack-sdk-py-test:
1818
runs-on: ubuntu-latest
19+
strategy:
20+
fail-fast: false
21+
matrix:
22+
python:
23+
- "3.11"
24+
- "3.13"
1925
steps:
2026
- uses: actions/checkout@v4
2127
- name: "Set up Lima"
@@ -29,4 +35,4 @@ jobs:
2935
- uses: ./.github/actions/setup
3036
env:
3137
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32-
- run: mise run agentstack-sdk-py:e2e-test
38+
- run: mise run agentstack-sdk-py:e2e-test --python=${{ matrix.python }}

apps/agentstack-sdk-py/tasks.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,13 @@ outputs = { auto = true }
7676
# test
7777

7878
["agentstack-sdk-py:e2e-test"]
79+
run = """
80+
#!/bin/bash
81+
uv run --python={{option(name="python", default="3.13")}} pytest
82+
"""
83+
7984
depends = ["agentstack-sdk-py:setup"]
8085
dir = "{{config_root}}/apps/agentstack-sdk-py"
81-
run = "uv run pytest"
82-
8386
# build
8487

8588
["agentstack-sdk-py:build"]

0 commit comments

Comments
 (0)