diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d6f0ee6c0..804bd2155 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -642,3 +642,27 @@ jobs: status: ${{ job.status }} channel: '#haystack' if: failure() && github.repository_owner == 'deepset-ai' && github.ref == 'refs/heads/main' + + catch-all: + name: Catch-all check + runs-on: ubuntu-latest + # This job will be executed only after all the other tests + # are successful. + # This way we'll be able to mark only this test as required + # and skip it accordingly. + needs: + - integration-tests-elasticsearch + - integration-tests-sql + - integration-tests-opensearch + - integration-tests-dc + - integration-tests-faiss + - integration-tests-weaviate + - integration-tests-pinecone + - integration-tests-milvus + - integration-tests-memory + - integration-tests-linux + - integration-tests-windows + + steps: + - name: Finisher + run: echo "Finish him!" diff --git a/.github/workflows/tests_skipper.yml b/.github/workflows/tests_skipper.yml new file mode 100644 index 000000000..a14e3b34d --- /dev/null +++ b/.github/workflows/tests_skipper.yml @@ -0,0 +1,22 @@ +name: Tests + +on: + pull_request: + types: + - opened + - reopened + - synchronize + - ready_for_review + paths-ignore: + - "**.py" + - "pyproject.toml" + - "!.github/**/*.py" + - "!rest_api/**/*.py" + +jobs: + catch-all: + name: Catch-all check + runs-on: ubuntu-latest + steps: + - name: Skip tests + run: echo "Skipped!"