mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-07-30 20:31:44 +00:00

* clean up tests and run earlier * use change detection * better naming, skip ES * more cleanup * fix job name * dummy commit to trigger the CI * mock away the PDF converter * make the test compatible with 3.7 * removed leftover * always run the api tests, use a matrix for the OS * refactor all the tests * remove outdated dependency * pylint * new abstract method * adjust for older python versions * rename pipeline file * address PR comments
37 lines
805 B
YAML
37 lines
805 B
YAML
version: 'unstable'
|
|
|
|
components:
|
|
- name: TestReader
|
|
type: MockReader
|
|
- name: TestRetriever
|
|
type: MockRetriever
|
|
params:
|
|
document_store: TestDocumentStore
|
|
- name: TestDocumentStore
|
|
type: MockDocumentStore
|
|
- name: TestPreprocessor
|
|
type: PreProcessor
|
|
params:
|
|
clean_whitespace: true
|
|
- name: TestPDFConverter
|
|
type: MockPDFToTextConverter
|
|
params:
|
|
remove_numeric_tables: false
|
|
|
|
|
|
pipelines:
|
|
- name: test-query
|
|
nodes:
|
|
- name: TestRetriever
|
|
inputs: [Query]
|
|
- name: TestReader
|
|
inputs: [TestRetriever]
|
|
|
|
- name: test-indexing
|
|
nodes:
|
|
- name: TestPDFConverter
|
|
inputs: [File]
|
|
- name: TestPreprocessor
|
|
inputs: [TestPDFConverter]
|
|
- name: TestDocumentStore
|
|
inputs: [TestPreprocessor] |