| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- name: CLT tests
- on:
- workflow_call:
- inputs:
- docker_image:
- required: true
- type: string
- description: "Docker image to use for tests"
- artifact_name:
- required: false
- type: string
- description: "Name of the docker image artifact"
- repository:
- required: false
- type: string
- description: "Repository to checkout"
- ref:
- required: false
- type: string
- description: "Ref to checkout"
- continue_on_error:
- required: false
- type: boolean
- description: "Continue on error"
- default: false
- secrets:
- OPENAI_API_KEY:
- required: true
- description: "OpenAI API key for CLT tests"
- VOYAGE_API_KEY:
- required: true
- description: "Voyage API key for CLT tests"
- JINA_API_KEY:
- required: true
- description: "Jina API key for CLT tests"
- jobs:
- clt:
- name: CLT
- runs-on: ubuntu-22.04
- timeout-minutes: 30
- continue-on-error: ${{ inputs.continue_on_error }}
- env:
- OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
- VOYAGE_API_KEY: ${{ secrets.VOYAGE_API_KEY }}
- JINA_API_KEY: ${{ secrets.JINA_API_KEY }}
- strategy:
- fail-fast: false
- matrix:
- test-suite:
- - name: Buddy
- test_prefix: test/clt-tests/buddy/
- - name: Buddy-plugins
- test_prefix: test/clt-tests/buddy-plugins/
- - name: Bugs
- test_prefix: test/clt-tests/bugs/
- - name: Core
- test_prefix: test/clt-tests/core/
- - name: Data-manipulation
- test_prefix: test/clt-tests/data-manipulation/
- - name: Expected-errors
- test_prefix: test/clt-tests/expected-errors/
- - name: Fulltext-search
- test_prefix: test/clt-tests/fulltext-search/
- - name: MCL
- test_prefix: test/clt-tests/mcl/
- - name: HTTP interface tests
- test_prefix: test/clt-tests/http-interface/
- - name: Indexer
- test_prefix: test/clt-tests/indexer/
- - name: Join
- test_prefix: test/clt-tests/join/
- - name: Kibana
- test_prefix: test/clt-tests/kibana/
- - name: mysqldump
- test_prefix: |-
- test/clt-tests/mysqldump/mysql/
- test/clt-tests/mysqldump/maria/
- - name: Performance
- test_prefix: test/clt-tests/performance/
- - name: Replication
- test_prefix: test/clt-tests/replication/
- - name: Sharding
- test_prefix: |-
- test/clt-tests/sharding/cluster/
- test/clt-tests/sharding/functional/
- test/clt-tests/sharding/replication/
- test/clt-tests/sharding/syntax/
- - name: Test-configuration
- test_prefix: test/clt-tests/test-configuration/
- - name: Vector-knn
- test_prefix: test/clt-tests/vector-knn/
-
- steps:
- - uses: manticoresoftware/[email protected]
- with:
- artifact: ${{ inputs.artifact_name }}
- image: ${{ inputs.docker_image }}
- repository: ${{ inputs.repository }}
- ref: ${{ inputs.ref }}
- test_prefix: ${{ matrix.test-suite.test_prefix }}
- comment_mode: failures
- run_args: "-e OPENAI_API_KEY -e VOYAGE_API_KEY -e JINA_API_KEY"
- ui_host: "https://clt.manticoresearch.com"
|