Skip to content

[llm-d] Finish the KPIs and EKS #1571

[llm-d] Finish the KPIs and EKS

[llm-d] Finish the KPIs and EKS #1571

# Unit tests for projects/core/dsl (task decorators, execute_tasks, failure/always/skip)
# and projects/core/toolbox (unified toolbox script).
name: Toolbox DSL and Core tests
on:
pull_request:
branches: [main]
push:
branches: [main]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
pytest:
runs-on: ubuntu-latest
env:
PYTHONPATH: ${{ github.workspace }}
steps:
- uses: actions/checkout@v5
with:
persist-credentials: false
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install test dependencies
run: |
set -o errexit
python -m pip install --upgrade pip
python -m pip install -e .[testing]
- name: Run pytest suites
run: |
set -o errexit
# Tree + docstrings (what is being tested), then execute with one line per test + result.
# This runs both DSL tests (test_dsl_*.py) and toolbox tests (test_run_toolbox*.py)
python -m pytest --collect-only -vv -o addopts='-ra --strict-markers --strict-config'
echo ""
python -m pytest -vv -o addopts='-ra --strict-markers --strict-config'