v1.1.0: address reviewer feedback (#0692) #27
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: [main, develop] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip setuptools wheel | |
| pip install -e ".[dev,all]" | |
| - name: Verify imports (v1.1+ public surface) | |
| run: | | |
| python -c "from agentflow import AgentOrchestrator, MuleSoftConnector, HybridIntentParser, LLMIntentParser; print('All imports OK')" | |
| - name: Lint with ruff | |
| run: ruff check agentflow/ tests/ experiments/ benchmarks/ examples/ | |
| - name: Run tests | |
| run: pytest tests/ -v --tb=short | |
| - name: Type-check new modules with mypy --strict | |
| run: | | |
| python -m mypy --strict \ | |
| agentflow/nlp/llm_provider.py \ | |
| agentflow/nlp/llm_intent_parser.py \ | |
| agentflow/nlp/hybrid_intent_parser.py \ | |
| agentflow/core/cyclic_workflow.py | |
| - name: Smoke-run experiments and benchmarks | |
| run: | | |
| python -m experiments.routing_weight_ablation --requests 50 --grid 2 --seed 42 > /dev/null | |
| python -m experiments.parser_quality_benchmark --json > /dev/null | |
| python -m benchmarks.baseline_comparison --workflows 20 --concurrency 5 --steps 4 > /dev/null |