Run FIT Testing #2
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: Run FIT Testing | |
| on: | |
| schedule: | |
| - cron: '20 3 * * *' | |
| workflow_dispatch: | |
| inputs: | |
| preset: | |
| description: FIT presets or preset groups to run, comma-separated. (`fit preset list`) | |
| required: false | |
| type: string | |
| default: op-multi-lite | |
| collect_extra_diagnostics: | |
| description: Collect additional diagnostics (includes cbcollect, is slower) | |
| required: false | |
| type: boolean | |
| default: true | |
| channel: | |
| description: fit-cli install channel ("latest" or "ci"). | |
| required: false | |
| type: string | |
| default: ci | |
| performer_image_version: | |
| description: Version (docker image tag) of the python-fit-performer image to test against. | |
| required: false | |
| type: string | |
| default: main | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ inputs.preset || 'op-multi-lite' }}-${{ inputs.performer_image_version || 'main' }} | |
| cancel-in-progress: true | |
| permissions: | |
| id-token: write | |
| contents: read | |
| checks: write | |
| jobs: | |
| fit: | |
| uses: couchbaselabs/fit-cli/.github/workflows/fit-cli.yaml@main | |
| with: | |
| preset: ${{ vars.FIT_CLI_PRESET || inputs.preset || 'op-multi-lite' }} | |
| collect_extra_diagnostics: ${{ inputs.collect_extra_diagnostics != false }} | |
| performer: python-fit-performer:${{ inputs.performer_image_version || 'main' }} | |
| channel: ${{ vars.FIT_CLI_CHANNEL || inputs.channel || 'ci' }} |