Skip to content

[Feature]: Testing - Checkpoint 1 (SDK - management, routing, cli) #939

[Feature]: Testing - Checkpoint 1 (SDK - management, routing, cli)

[Feature]: Testing - Checkpoint 1 (SDK - management, routing, cli) #939

Workflow file for this run

name: Run SDK tests
on:
pull_request:
paths:
- "agenta-cli/**"
- "agenta-cli/pyproject.toml"
- "agenta-cli/poetry.lock"
workflow_dispatch:
jobs:
sdk_tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.9"
- name: Install Poetry
run: pip install poetry
- name: Activate shell, install dependencies and agenta SDK
run: |
cd agenta-cli
poetry install
- name: Run pytest
run: |
cd agenta-cli/agenta/tests
poetry run pytest prompt_sdk/