clt_tests.yml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. name: CLT tests
  2. on:
  3. workflow_call:
  4. inputs:
  5. docker_image:
  6. required: true
  7. type: string
  8. description: "Docker image to use for tests"
  9. artifact_name:
  10. required: false
  11. type: string
  12. description: "Name of the docker image artifact"
  13. repository:
  14. required: false
  15. type: string
  16. description: "Repository to checkout"
  17. ref:
  18. required: false
  19. type: string
  20. description: "Ref to checkout"
  21. continue_on_error:
  22. required: false
  23. type: boolean
  24. description: "Continue on error"
  25. default: false
  26. secrets:
  27. OPENAI_API_KEY:
  28. required: true
  29. description: "OpenAI API key for CLT tests"
  30. VOYAGE_API_KEY:
  31. required: true
  32. description: "Voyage API key for CLT tests"
  33. JINA_API_KEY:
  34. required: true
  35. description: "Jina API key for CLT tests"
  36. jobs:
  37. clt:
  38. name: CLT
  39. runs-on: ubuntu-22.04
  40. timeout-minutes: 30
  41. continue-on-error: ${{ inputs.continue_on_error }}
  42. env:
  43. OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
  44. VOYAGE_API_KEY: ${{ secrets.VOYAGE_API_KEY }}
  45. JINA_API_KEY: ${{ secrets.JINA_API_KEY }}
  46. strategy:
  47. fail-fast: false
  48. matrix:
  49. test-suite:
  50. - name: Buddy
  51. test_prefix: test/clt-tests/buddy/
  52. - name: Buddy-plugins
  53. test_prefix: test/clt-tests/buddy-plugins/
  54. - name: Bugs
  55. test_prefix: test/clt-tests/bugs/
  56. - name: Core
  57. test_prefix: test/clt-tests/core/
  58. - name: Data-manipulation
  59. test_prefix: test/clt-tests/data-manipulation/
  60. - name: Expected-errors
  61. test_prefix: test/clt-tests/expected-errors/
  62. - name: Fulltext-search
  63. test_prefix: test/clt-tests/fulltext-search/
  64. - name: MCL
  65. test_prefix: test/clt-tests/mcl/
  66. - name: HTTP interface tests
  67. test_prefix: test/clt-tests/http-interface/
  68. - name: Indexer
  69. test_prefix: test/clt-tests/indexer/
  70. - name: Join
  71. test_prefix: test/clt-tests/join/
  72. - name: Kibana
  73. test_prefix: test/clt-tests/kibana/
  74. - name: mysqldump
  75. test_prefix: |-
  76. test/clt-tests/mysqldump/mysql/
  77. test/clt-tests/mysqldump/maria/
  78. - name: Performance
  79. test_prefix: test/clt-tests/performance/
  80. - name: Replication
  81. test_prefix: test/clt-tests/replication/
  82. - name: Sharding
  83. test_prefix: |-
  84. test/clt-tests/sharding/cluster/
  85. test/clt-tests/sharding/functional/
  86. test/clt-tests/sharding/replication/
  87. test/clt-tests/sharding/syntax/
  88. - name: Test-configuration
  89. test_prefix: test/clt-tests/test-configuration/
  90. - name: Vector-knn
  91. test_prefix: test/clt-tests/vector-knn/
  92. steps:
  93. - uses: manticoresoftware/[email protected]
  94. with:
  95. artifact: ${{ inputs.artifact_name }}
  96. image: ${{ inputs.docker_image }}
  97. repository: ${{ inputs.repository }}
  98. ref: ${{ inputs.ref }}
  99. test_prefix: ${{ matrix.test-suite.test_prefix }}
  100. comment_mode: failures
  101. run_args: "-e OPENAI_API_KEY -e VOYAGE_API_KEY -e JINA_API_KEY"
  102. ui_host: "https://clt.manticoresearch.com"