Trusted live smoke #5
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: Trusted live smoke | |
| on: | |
| schedule: | |
| - cron: "17 3 * * *" | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: trusted-live-smoke | |
| cancel-in-progress: false | |
| env: | |
| UV_VERSION: 0.11.8 | |
| COMETAPI_LIVE_MAX_REQUESTS: "4" | |
| COMETAPI_LIVE_MAX_OUTPUT_TOKENS: "16" | |
| COMETAPI_LIVE_MODEL: gpt-5.4 | |
| COMETAPI_LIVE_REQUEST_TIMEOUT_SECONDS: "30" | |
| COMETAPI_LIVE_CONCURRENCY: "1" | |
| COMETAPI_LIVE_RUN: "1" | |
| COMETAPI_LIVE_STOP_ON_FAILURE: "1" | |
| jobs: | |
| smoke: | |
| name: Bounded Chat Completions and Responses smoke | |
| if: >- | |
| github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && | |
| vars.LIVE_SMOKE_ENABLED == 'true' | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| environment: live-smoke | |
| steps: | |
| - name: Check out the trusted default branch | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| ref: ${{ github.event.repository.default_branch }} | |
| persist-credentials: false | |
| - name: Set up Python | |
| uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 | |
| with: | |
| python-version: "3.14" | |
| - name: Install the pinned uv frontend | |
| run: python -m pip install --disable-pip-version-check "uv==$UV_VERSION" | |
| - name: Reproduce the locked environment | |
| run: uv sync --locked | |
| - name: Run the separately marked, bounded live suite | |
| env: | |
| COMETAPI_KEY: ${{ secrets.COMETAPI_KEY }} | |
| run: uv run pytest -m live --maxfail=1 -q |