feat(sdk): support batched prompts in geniex-bench via --- separator #98
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: Test | |
| # Top-level test entry point for tag pushes and manual reruns. Builds | |
| # the SDK on demand, then fans out to _test.yml (test-go, test-python, | |
| # test-sdk-ci) and _qdc-pytest.yml (test-sdk-qdc) so tag pushes get the | |
| # same coverage PRs do. | |
| # | |
| # Independent of release.yml: both fire on the same tag push but as | |
| # siblings — failures here surface as a red check on the tag commit | |
| # and never gate the publish-* jobs in release.yml. | |
| # | |
| # pr-check.yml does NOT call this file; it calls _test.yml / | |
| # _qdc-pytest.yml directly so the SDK build is shared with the rest of | |
| # the PR graph. | |
| on: | |
| push: | |
| tags: | |
| - "v*" | |
| workflow_dispatch: | |
| inputs: | |
| version_tag: | |
| description: "Explicit version tag (passed to build-sdk on workflow_dispatch)." | |
| required: false | |
| type: string | |
| default: "" | |
| permissions: | |
| contents: read | |
| packages: read | |
| jobs: | |
| build-sdk: | |
| uses: ./.github/workflows/_build-sdk.yml | |
| secrets: inherit | |
| with: | |
| upload_artifact: true | |
| version_tag: ${{ inputs.version_tag || github.ref_name }} | |
| test-go: | |
| needs: [build-sdk] | |
| if: ${{ !cancelled() && needs.build-sdk.result != 'failure' }} | |
| uses: ./.github/workflows/_test.yml | |
| secrets: inherit | |
| with: | |
| language: go | |
| gate_on_changed_files: false | |
| test-python: | |
| needs: [build-sdk] | |
| if: ${{ !cancelled() && needs.build-sdk.result != 'failure' }} | |
| uses: ./.github/workflows/_test.yml | |
| secrets: inherit | |
| with: | |
| language: python | |
| gate_on_changed_files: false | |
| test-sdk-ci: | |
| needs: [build-sdk] | |
| if: ${{ !cancelled() && needs.build-sdk.result != 'failure' }} | |
| uses: ./.github/workflows/_test.yml | |
| secrets: inherit | |
| with: | |
| language: sdk | |
| # Linux disabled until the llama_cpp plugin can load without OpenCL. | |
| platforms: '["windows-arm64"]' | |
| gate_on_changed_files: false | |
| test-sdk-qdc: | |
| needs: [build-sdk] | |
| if: ${{ !cancelled() && needs.build-sdk.result != 'failure' }} | |
| uses: ./.github/workflows/_qdc-pytest.yml | |
| secrets: inherit |