From 5471aa97ec677795e9368296be03c67fa1f8703b Mon Sep 17 00:00:00 2001 From: Georgios Andrianakis Date: Wed, 6 Dec 2023 09:59:26 +0200 Subject: [PATCH] Remove pinecone test from PR build --- .github/workflows/build-pull-request.yml | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/.github/workflows/build-pull-request.yml b/.github/workflows/build-pull-request.yml index 2a501ce57..b089df97c 100644 --- a/.github/workflows/build-pull-request.yml +++ b/.github/workflows/build-pull-request.yml @@ -23,9 +23,6 @@ jobs: build: name: Build on ${{ matrix.os }} - ${{ matrix.java }} strategy: - # PineconeEmbeddingStoreTest uses a single shared index, we can't run multiple CI runs on it at once - # If we have PINECONE_API_KEY available, then the test will run, so set max-parallel to 1 - max-parallel: ${{ github.secret_source == 'Actions' && 1 || 16 }} fail-fast: false matrix: os: [ubuntu-latest] @@ -46,16 +43,6 @@ jobs: - name: Build with Maven run: mvn -B clean install -Dno-format - env: # note that secrets are not available when triggered by PR from a fork, so some tests will be skipped - PINECONE_API_KEY: ${{ secrets.PINECONE_API_KEY }} - PINECONE_ENVIRONMENT: ${{ secrets.PINECONE_ENVIRONMENT }} - PINECONE_INDEX_NAME: ${{ secrets.PINECONE_INDEX_NAME }} - PINECONE_PROJECT_ID: ${{ secrets.PINECONE_PROJECT_ID }} - name: Build with Maven (Native) run: mvn -B install -Dnative -Dquarkus.native.container-build -Dnative.surefire.skip - env: # note that secrets are not available when triggered by PR from a fork, so some tests will be skipped - PINECONE_API_KEY: ${{ secrets.PINECONE_API_KEY }} - PINECONE_ENVIRONMENT: ${{ secrets.PINECONE_ENVIRONMENT }} - PINECONE_INDEX_NAME: ${{ secrets.PINECONE_INDEX_NAME }} - PINECONE_PROJECT_ID: ${{ secrets.PINECONE_PROJECT_ID }}