The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:
TypeScript analyticsbibusiness-intelligencebusinessintelligenceclojuredashboarddatadata-analysisdata-visualizationdatabasemetabasemysqlpostgrespostgresqlreportingslacksql-editorvisualization
only run some semantic search tests on PRs (#82440)
Chris Vandoodewaardad51ac8b784e
diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.ymlindex 7d33f553258..f1a344627c7 100644--- a/.github/workflows/run-tests.yml+++ b/.github/workflows/run-tests.yml@@ -261,6 +261,10 @@ jobs:skip: >-${{ needs.should-run.outputs.verdict != 'force-run' &&needs.files-changed.outputs.backend_all != 'true' }}+ smoke-only: >-+ ${{ needs.should-run.outputs.verdict != 'force-run' &&+ !contains(github.event.pull_request.labels.*.name, 'ci:run-semantic-search-tests')+ }}app-db-tests:if: |diff --git a/.github/workflows/semantic-search.yml b/.github/workflows/semantic-search.ymlindex f9202256126..045fbf31f76 100644--- a/.github/workflows/semantic-search.yml+++ b/.github/workflows/semantic-search.yml@@ -6,6 +6,10 @@ on:skip:type: booleandefault: false+ smoke-only:+ type: boolean+ default: false+ description: Only run Postgres Latest to do a quick resource-efficient sanity check, intended to be set for PRs.# Run one semantic-search job on demand, against the ref you dispatch on, optionally under a# profiler. Everything else about the job -- services, matrix legs, test args, quarantine gating --@@ -54,7 +58,7 @@ env:jobs:semantic-search-tests-h2:- if: ${{ !inputs.skip && (inputs.suite == '' || inputs.suite == 'h2') }}+ if: ${{ !inputs.skip && !inputs.smoke-only && (inputs.suite == '' || inputs.suite == 'h2') }}runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}timeout-minutes: 40strategy:@@ -98,7 +102,7 @@ jobs::exclude-tags '[${{ matrix.job.exclude-tag }}]'semantic-search-tests-mariadb:- if: ${{ !inputs.skip && (inputs.suite == '' || inputs.suite == 'mariadb') }}+ if: ${{ !inputs.skip && !inputs.smoke-only && (inputs.suite == '' || inputs.suite == 'mariadb') }}runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}timeout-minutes: 40strategy:@@ -163,7 +167,7 @@ jobs::exclude-tags '[${{ matrix.job.exclude-tag }}]'semantic-search-tests-mysql:- if: ${{ !inputs.skip && (inputs.suite == '' || inputs.suite == 'mysql') }}+ if: ${{ !inputs.skip && !inputs.smoke-only && (inputs.suite == '' || inputs.suite == 'mysql') }}runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}timeout-minutes: 40strategy:@@ -250,6 +254,10 @@ jobs:junit-name: semantic-search-tests-postgres-latestpostgres-image: postgres:latestpgvector-image: pgvector/pgvector:pg17+ exclude: >-+ ${{ inputs.smoke-only+ && fromJSON('[{"version":{"name":"Postgres 14.x with pgvector pg17"}}]')+ || fromJSON('[]') }}job:- name: Semantic Search Testsbuild-static-viz: false@@ -302,7 +310,7 @@ jobs:# MB_PGVECTOR_DB_URL is deliberately unset. The dedicated-harness tests gate themselves off; the# appdb-pgvector-mode round trip (and the URL-independent unit tests) run for real.semantic-search-tests-appdb-mode:- if: ${{ !inputs.skip && (inputs.suite == '' || inputs.suite == 'appdb-mode') }}+ if: ${{ !inputs.skip && !inputs.smoke-only && (inputs.suite == '' || inputs.suite == 'appdb-mode') }}runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}timeout-minutes: 40strategy: