feat(daemon,cli): msteams ref migration marker + canonical loop token… #899
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, develop ] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.12", "3.13"] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| submodules: recursive | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| with: | |
| version: "latest" | |
| - name: Set up Python ${{ matrix.python-version }} | |
| run: uv python install ${{ matrix.python-version }} | |
| - name: Install system dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y libxml2-dev libxslt-dev ripgrep silversearcher-ag | |
| - name: Install dependencies (workspace) | |
| run: uv sync | |
| - name: Run tests (daemon package) | |
| run: make test-unit | |
| # - name: Run integration tests | |
| # run: make test-integration | |
| # env: | |
| # DASHSCOPE_CP_API_KEY: ${{ secrets.DASHSCOPE_CP_API_KEY }} | |
| # DASHSCOPE_CP_BASE_URL: ${{ secrets.DASHSCOPE_CP_BASE_URL }} | |
| - name: Build all packages | |
| run: make build | |
| code-quality: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| submodules: recursive | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| with: | |
| version: "latest" | |
| - name: Set up Python | |
| run: uv python install 3.12 | |
| - name: Install system dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y libxml2-dev libxslt-dev | |
| - name: Install dependencies (workspace) | |
| run: uv sync | |
| - name: Lint (format + ruff check) | |
| run: make lint | |
| - name: Check AsyncAPI spec drift (RFC-450 §11.3) | |
| run: uv run python scripts/check_asyncapi_drift.py --strict |