mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-08-20 06:28:39 +00:00
Update pdftotext
also on pinecone
and milvus1
CI jobs (#2433)
* Upgrade pdftotext also on pinecone and milvus1 jobs * Update Documentation & Code Style Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
ba9c976bfe
commit
8abf11fbd3
4
.github/workflows/linux_ci.yml
vendored
4
.github/workflows/linux_ci.yml
vendored
@ -333,7 +333,7 @@ jobs:
|
|||||||
run: docker run -d -p 19530:19530 -p 19121:19121 milvusdb/milvus:1.1.0-cpu-d050721-5e559c
|
run: docker run -d -p 19530:19530 -p 19121:19121 milvusdb/milvus:1.1.0-cpu-d050721-5e559c
|
||||||
|
|
||||||
- name: Install pdftotext
|
- name: Install pdftotext
|
||||||
run: wget --no-check-certificate https://dl.xpdfreader.com/xpdf-tools-linux-4.03.tar.gz && tar -xvf xpdf-tools-linux-4.03.tar.gz && sudo cp xpdf-tools-linux-4.03/bin64/pdftotext /usr/local/bin
|
run: wget --no-check-certificate https://dl.xpdfreader.com/xpdf-tools-linux-4.04.tar.gz && tar -xvf xpdf-tools-linux-4.04.tar.gz && sudo cp xpdf-tools-linux-4.04/bin64/pdftotext /usr/local/bin
|
||||||
|
|
||||||
- name: Install Dependencies (on cache miss only)
|
- name: Install Dependencies (on cache miss only)
|
||||||
# The cache might miss during the execution of an action: there should always be a fallback step to
|
# The cache might miss during the execution of an action: there should always be a fallback step to
|
||||||
@ -377,7 +377,7 @@ jobs:
|
|||||||
key: linux-${{ env.date }}-${{ hashFiles('**/setup.py') }}-${{ hashFiles('**/setup.cfg') }}-${{ hashFiles('**/pyproject.toml') }}
|
key: linux-${{ env.date }}-${{ hashFiles('**/setup.py') }}-${{ hashFiles('**/setup.cfg') }}-${{ hashFiles('**/pyproject.toml') }}
|
||||||
|
|
||||||
- name: Install pdftotext
|
- name: Install pdftotext
|
||||||
run: wget --no-check-certificate https://dl.xpdfreader.com/xpdf-tools-linux-4.03.tar.gz && tar -xvf xpdf-tools-linux-4.03.tar.gz && sudo cp xpdf-tools-linux-4.03/bin64/pdftotext /usr/local/bin
|
run: wget --no-check-certificate https://dl.xpdfreader.com/xpdf-tools-linux-4.04.tar.gz && tar -xvf xpdf-tools-linux-4.04.tar.gz && sudo cp xpdf-tools-linux-4.04/bin64/pdftotext /usr/local/bin
|
||||||
|
|
||||||
# Haystack needs to be reinstalled at this stage to make sure the current commit's version is the one getting tested.
|
# Haystack needs to be reinstalled at this stage to make sure the current commit's version is the one getting tested.
|
||||||
# The cache can last way longer than a specific action's run, so older Haystack version could be carried over.
|
# The cache can last way longer than a specific action's run, so older Haystack version could be carried over.
|
||||||
|
@ -37,7 +37,7 @@ This tutorial will show you all the tools that Haystack provides to help you cas
|
|||||||
!pip install git+https://github.com/deepset-ai/haystack.git#egg=farm-haystack[colab,ocr]
|
!pip install git+https://github.com/deepset-ai/haystack.git#egg=farm-haystack[colab,ocr]
|
||||||
|
|
||||||
# For Colab/linux based machines
|
# For Colab/linux based machines
|
||||||
!wget --no-check-certificate https://dl.xpdfreader.com/xpdf-tools-linux-4.03.tar.gz
|
!wget --no-check-certificate https://dl.xpdfreader.com/xpdf-tools-linux-4.04.tar.gz
|
||||||
!tar -xvf xpdf-tools-linux-4.03.tar.gz && sudo cp xpdf-tools-linux-4.03/bin64/pdftotext /usr/local/bin
|
!tar -xvf xpdf-tools-linux-4.03.tar.gz && sudo cp xpdf-tools-linux-4.03/bin64/pdftotext /usr/local/bin
|
||||||
|
|
||||||
# For Macos machines
|
# For Macos machines
|
||||||
|
Loading…
x
Reference in New Issue
Block a user