diff --git a/.github/workflows/document_stores_pinecone.yml b/.github/workflows/pinecone.yml similarity index 82% rename from .github/workflows/document_stores_pinecone.yml rename to .github/workflows/pinecone.yml index 14202474f..78eb27937 100644 --- a/.github/workflows/document_stores_pinecone.yml +++ b/.github/workflows/pinecone.yml @@ -1,17 +1,17 @@ # This workflow comes from https://github.com/ofek/hatch-mypyc # https://github.com/ofek/hatch-mypyc/blob/5a198c0ba8660494d02716cfc9d79ce4adfb1442/.github/workflows/test.yml -name: Test / Document Stores / pinecone +name: Test / pinecone on: schedule: - cron: "0 0 * * *" pull_request: paths: - - "document_stores/pinecone/**" + - "integrations/pinecone/**" - ".github/workflows/pinecone.yml" concurrency: - group: document_stores_pinecone-${{ github.head_ref }} + group: pinecone-${{ github.head_ref }} cancel-in-progress: true env: @@ -40,10 +40,10 @@ jobs: run: pip install --upgrade hatch - name: Lint - working-directory: document_stores/pinecone + working-directory: pinecone if: matrix.python-version == '3.9' run: hatch run lint:all - name: Run tests - working-directory: document_stores/pinecone + working-directory: pinecone run: hatch run cov diff --git a/document_stores/pinecone/README.md b/integrations/pinecone/README.md similarity index 100% rename from document_stores/pinecone/README.md rename to integrations/pinecone/README.md diff --git a/document_stores/pinecone/pyproject.toml b/integrations/pinecone/pyproject.toml similarity index 100% rename from document_stores/pinecone/pyproject.toml rename to integrations/pinecone/pyproject.toml diff --git a/document_stores/pinecone/src/pinecone_haystack/__about__.py b/integrations/pinecone/src/pinecone_haystack/__about__.py similarity index 100% rename from document_stores/pinecone/src/pinecone_haystack/__about__.py rename to integrations/pinecone/src/pinecone_haystack/__about__.py diff --git a/document_stores/pinecone/src/pinecone_haystack/__init__.py b/integrations/pinecone/src/pinecone_haystack/__init__.py similarity index 100% rename from document_stores/pinecone/src/pinecone_haystack/__init__.py rename to integrations/pinecone/src/pinecone_haystack/__init__.py diff --git a/document_stores/pinecone/src/pinecone_haystack/document_store.py b/integrations/pinecone/src/pinecone_haystack/document_store.py similarity index 100% rename from document_stores/pinecone/src/pinecone_haystack/document_store.py rename to integrations/pinecone/src/pinecone_haystack/document_store.py diff --git a/document_stores/pinecone/src/pinecone_haystack/errors.py b/integrations/pinecone/src/pinecone_haystack/errors.py similarity index 100% rename from document_stores/pinecone/src/pinecone_haystack/errors.py rename to integrations/pinecone/src/pinecone_haystack/errors.py diff --git a/document_stores/pinecone/src/pinecone_haystack/filter_utils.py b/integrations/pinecone/src/pinecone_haystack/filter_utils.py similarity index 100% rename from document_stores/pinecone/src/pinecone_haystack/filter_utils.py rename to integrations/pinecone/src/pinecone_haystack/filter_utils.py diff --git a/document_stores/pinecone/src/pinecone_haystack/retriever.py b/integrations/pinecone/src/pinecone_haystack/retriever.py similarity index 100% rename from document_stores/pinecone/src/pinecone_haystack/retriever.py rename to integrations/pinecone/src/pinecone_haystack/retriever.py diff --git a/document_stores/pinecone/tests/__init__.py b/integrations/pinecone/tests/__init__.py similarity index 100% rename from document_stores/pinecone/tests/__init__.py rename to integrations/pinecone/tests/__init__.py diff --git a/document_stores/pinecone/tests/pinecone_mock.py b/integrations/pinecone/tests/pinecone_mock.py similarity index 100% rename from document_stores/pinecone/tests/pinecone_mock.py rename to integrations/pinecone/tests/pinecone_mock.py diff --git a/document_stores/pinecone/tests/test_pinecone_document_store.py b/integrations/pinecone/tests/test_pinecone_document_store.py similarity index 100% rename from document_stores/pinecone/tests/test_pinecone_document_store.py rename to integrations/pinecone/tests/test_pinecone_document_store.py diff --git a/document_stores/pinecone/tests/test_retriever.py b/integrations/pinecone/tests/test_retriever.py similarity index 100% rename from document_stores/pinecone/tests/test_retriever.py rename to integrations/pinecone/tests/test_retriever.py