diff --git a/.github/workflows/fit-tests.yml b/.github/workflows/fit-tests.yml new file mode 100644 index 00000000..8a4fc272 --- /dev/null +++ b/.github/workflows/fit-tests.yml @@ -0,0 +1,39 @@ +name: Run FIT Testing + +on: + schedule: + - cron: '0 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 + +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: 'ruby-fit-performer:main' + channel: ${{ vars.FIT_CLI_CHANNEL || inputs.channel || 'ci' }}