Files
copilotkit__copilotkit/.github/workflows/test_unit-python-sdk.yml
Jordan Ritter f5462915c3 ci: fix static_danger matrix bug, python-sdk concurrency and dep pin
- static_danger: removed undefined matrix.node-version, upgraded to
  v4, added concurrency and timeout
- python-sdk: added concurrency and timeout, pinned ag-ui-langgraph
  <0.0.32 (0.0.32 imports non-existent ImageInputContent from ag_ui.core)
2026-04-10 10:37:42 -07:00

45 lines
1017 B
YAML

name: test / unit / python-sdk
on:
push:
branches: [main]
paths:
- "sdk-python/**"
- ".github/workflows/test_unit-python-sdk.yml"
pull_request:
branches: [main]
paths:
- "sdk-python/**"
- ".github/workflows/test_unit-python-sdk.yml"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: latest
virtualenvs-create: true
virtualenvs-in-project: true
- name: Install dependencies
working-directory: sdk-python
run: poetry lock && poetry install --with dev
- name: Run tests
working-directory: sdk-python
run: poetry run python -m pytest tests/ -v