From c2dfe25ef27de2910092306196a708e56b231f33 Mon Sep 17 00:00:00 2001 From: Leon Luithlen Date: Fri, 8 Nov 2024 14:44:49 +0100 Subject: [PATCH] Try run-checks approach --- .github/workflows/test_neo4j.yml | 6 ++++++ .github/workflows/test_notebook.yml | 7 +++++++ .github/workflows/test_pgvector.yml | 7 +++++++ .github/workflows/test_qdrant.yml | 7 +++++++ .github/workflows/test_weaviate.yml | 7 +++++++ 5 files changed, 34 insertions(+) diff --git a/.github/workflows/test_neo4j.yml b/.github/workflows/test_neo4j.yml index 88cd1b7ce..25e1c0f38 100644 --- a/.github/workflows/test_neo4j.yml +++ b/.github/workflows/test_neo4j.yml @@ -2,6 +2,10 @@ name: test | neo4j on: workflow_dispatch: + pull_request: + branches: + - main + types: [labeled] concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} @@ -11,6 +15,8 @@ env: RUNTIME__LOG_LEVEL: ERROR jobs: + if: ${{ github.event.label.name == 'run-checks' }} + get_docs_changes: name: docs changes uses: ./.github/workflows/get_docs_changes.yml diff --git a/.github/workflows/test_notebook.yml b/.github/workflows/test_notebook.yml index fb9648e1f..24b766eca 100644 --- a/.github/workflows/test_notebook.yml +++ b/.github/workflows/test_notebook.yml @@ -2,6 +2,11 @@ name: test | notebook on: workflow_dispatch: + pull_request: + branches: + - main + types: [labeled] + concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} @@ -11,6 +16,8 @@ env: RUNTIME__LOG_LEVEL: ERROR jobs: + if: ${{ github.event.label.name == 'run-checks' }} + get_docs_changes: name: docs changes uses: ./.github/workflows/get_docs_changes.yml diff --git a/.github/workflows/test_pgvector.yml b/.github/workflows/test_pgvector.yml index 062a35b54..5ba149a19 100644 --- a/.github/workflows/test_pgvector.yml +++ b/.github/workflows/test_pgvector.yml @@ -2,6 +2,11 @@ name: test | pgvector on: workflow_dispatch: + pull_request: + branches: + - main + types: [labeled] + concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} @@ -11,6 +16,8 @@ env: RUNTIME__LOG_LEVEL: ERROR jobs: + if: ${{ github.event.label.name == 'run-checks' }} + get_docs_changes: name: docs changes uses: ./.github/workflows/get_docs_changes.yml diff --git a/.github/workflows/test_qdrant.yml b/.github/workflows/test_qdrant.yml index 1562619b0..b78e21f31 100644 --- a/.github/workflows/test_qdrant.yml +++ b/.github/workflows/test_qdrant.yml @@ -2,6 +2,11 @@ name: test | qdrant on: workflow_dispatch: + pull_request: + branches: + - main + types: [labeled] + concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} @@ -11,6 +16,8 @@ env: RUNTIME__LOG_LEVEL: ERROR jobs: + if: ${{ github.event.label.name == 'run-checks' }} + get_docs_changes: name: docs changes uses: ./.github/workflows/get_docs_changes.yml diff --git a/.github/workflows/test_weaviate.yml b/.github/workflows/test_weaviate.yml index 0b8d8e1ac..05d841725 100644 --- a/.github/workflows/test_weaviate.yml +++ b/.github/workflows/test_weaviate.yml @@ -2,6 +2,11 @@ name: test | weaviate on: workflow_dispatch: + pull_request: + branches: + - main + types: [labeled] + concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} @@ -11,6 +16,8 @@ env: RUNTIME__LOG_LEVEL: ERROR jobs: + if: ${{ github.event.label.name == 'run-checks' }} + get_docs_changes: name: docs changes uses: ./.github/workflows/get_docs_changes.yml