[Enhancement]: observability integration without using agenta hosted apps #75
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run SDK tests | |
on: | |
pull_request: | |
paths: | |
- 'agenta-cli/**' | |
- 'agenta-cli/pyproject.toml' | |
- 'agenta-cli/poetry.lock' | |
workflow_dispatch: | |
jobs: | |
pytest: | |
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: Install dependencies and agenta SDK | |
run: | | |
cd agenta-cli | |
poetry install | |
- name: Run pytest | |
run: | | |
cd agenta-cli | |
poetry run pytest tests |