chore(deps): bump the npm-minor-patch group across 1 directory with 6 updates #176
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: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| jobs: | |
| test: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, windows-latest] | |
| python-version: ["3.11", "3.12", "3.13"] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "22" | |
| cache: npm | |
| cache-dependency-path: web/package-lock.json | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Set up uv | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| enable-cache: true | |
| python-version: ${{ matrix.python-version }} | |
| - name: Sync dependencies | |
| run: uv sync --frozen --extra dev | |
| - name: Build web UI | |
| if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.12' | |
| shell: bash | |
| run: | | |
| cd web | |
| npm ci | |
| npm run build | |
| cd .. | |
| git diff --exit-code src/flightdeck/server/static/ | |
| - name: Playwright E2E (served UI) | |
| if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.12' | |
| shell: bash | |
| run: | | |
| cd web | |
| npx playwright install chromium | |
| npm run test:e2e | |
| - name: Playwright E2E (approval workspace) | |
| if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.12' | |
| shell: bash | |
| env: | |
| FD_E2E_FORCE_APPROVAL: "1" | |
| run: | | |
| cd web | |
| npx playwright install chromium | |
| npx playwright test e2e/actions-approval.spec.ts | |
| - name: Lint | |
| run: uv run python -m ruff check src tests | |
| - name: Test | |
| run: uv run python -m pytest --cov=flightdeck --cov-fail-under=80 --cov-report=term | |
| - name: JSON Schemas drift check | |
| if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.12' | |
| shell: bash | |
| run: | | |
| uv run python scripts/generate_schemas.py | |
| git diff --exit-code schemas/ | |
| - name: Quickstart smoke (cross-platform) | |
| run: uv run flightdeck-quickstart-verify | |
| - name: Example CI ledger gate | |
| env: | |
| FD_PROJECT: ${{ github.workspace }} | |
| WORKSPACE: ${{ runner.temp }}/fd-ledger-gate-${{ github.run_id }}-${{ github.run_attempt }} | |
| QUICKSTART_ROOT: ${{ github.workspace }}/examples/quickstart | |
| run: uv run python examples/ci/ledger_gate.py | |
| - name: CLI smoke | |
| run: uv run flightdeck --help | |
| integrations: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.12"] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Set up uv | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| enable-cache: true | |
| python-version: ${{ matrix.python-version }} | |
| - name: Sync with integration extras | |
| run: uv sync --frozen --extra dev --extra integrations-ci | |
| - name: Lint | |
| run: uv run python -m ruff check src tests | |
| - name: Integration tests | |
| run: uv run python -m pytest tests/test_integrations.py tests/test_integrations_langchain.py |