fix(llamaindex): observe per-run FunctionAgent tool requests #11
Workflow file for this run
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: WCM integrations tests | |
| # The Weight Custody Manifest integrations, run against the published PyPI | |
| # release rather than a checkout. The WCM source repository is private, so PyPI | |
| # is the only thing a CI runner and an external contributor both see, and it is | |
| # what CONTRIBUTING rule 1 requires an integration to target. | |
| # | |
| # weight-custody-manifest is pinned to an exact version. These adapters depend on | |
| # what the published package actually exports, and 0.27.0 is the release that | |
| # first published wcm.artifact_digest, runtime_records and memory_sweep. A | |
| # silent upgrade should surface here as a failing pin, next to the reason, | |
| # rather than as behaviour nobody attributed to a dependency. | |
| on: | |
| pull_request: | |
| paths: | |
| - "integrations/wcm-*/**" | |
| - "noxfile.py" | |
| - ".github/workflows/wcm-integrations-tests.yml" | |
| push: | |
| branches: [main] | |
| paths: | |
| - "integrations/wcm-*/**" | |
| - "noxfile.py" | |
| - ".github/workflows/wcm-integrations-tests.yml" | |
| permissions: | |
| contents: read | |
| jobs: | |
| unit: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.11", "3.12", "3.13"] | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| persist-credentials: false | |
| - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install the published SDK and test-only extras | |
| run: | | |
| pip install \ | |
| "weight-custody-manifest==0.27.0" \ | |
| "agent-manifest>=0.11.1" \ | |
| "pytest>=8" \ | |
| pyyaml \ | |
| "opentelemetry-api>=1.25" | |
| - name: Run the integration tests | |
| run: python -m pytest integrations/wcm-* -q | |
| # The recipe used to exist twice, kept in step by a byte-equality test. Since | |
| # 0.27.0 it lives in the SDK and both integrations re-export it, so the check | |
| # is now that neither has reintroduced a local copy to drift from. Still its | |
| # own job: the failure should be legible in the checks list rather than buried | |
| # in a suite of 349. | |
| digest-recipe-parity: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| persist-credentials: false | |
| - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 | |
| with: | |
| python-version: "3.12" | |
| - run: pip install "weight-custody-manifest==0.27.0" "pytest>=8" | |
| - run: | | |
| python -m pytest \ | |
| integrations/wcm-triton/test_wcm_triton.py \ | |
| -k "use_the_sdk_implementation or recipe_id_comes_from_the_sdk" -q |