From b78aecc861fd5de868566846ef625c7256eaea39 Mon Sep 17 00:00:00 2001 From: Alan Bertl Date: Wed, 4 Oct 2023 13:41:28 -0500 Subject: [PATCH] Temp CI change to sync with unstructured-inference --- .github/workflows/ci.yml | 4 ++++ Makefile | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e475ec9f02..2f82369e92 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -147,6 +147,7 @@ jobs: tesseract --version # FIXME (yao): sometimes there is cache but we still miss argilla in the env; so we add make install-ci again make install-ci + make install-local-inference-branch make test CI=true make check-coverage @@ -183,6 +184,7 @@ jobs: UNS_API_KEY: ${{ secrets.UNS_API_KEY }} run: | source .venv-base/bin/activate + make install-local-inference-branch make test-no-extras CI=true test_unit_dependency_extras: @@ -225,6 +227,7 @@ jobs: sudo add-apt-repository -y ppa:alex-p/tesseract-ocr5 sudo apt-get install -y tesseract-ocr tesseract-ocr-kor tesseract --version + make install-local-inference-branch make test-extra-${{ matrix.extra }} CI=true test_ingest: @@ -327,6 +330,7 @@ jobs: make install-ingest-wikipedia make install-ingest-notion make install-ingest-delta-table + make install-local-inference-branch ./test_unstructured_ingest/test-ingest.sh test_unstructured_api_unit: diff --git a/Makefile b/Makefile index 061b7a9b06..65bf1aed7d 100644 --- a/Makefile +++ b/Makefile @@ -23,6 +23,10 @@ install: install-base-pip-packages install-dev install-nltk-models install-test .PHONY: install-ci install-ci: install-base-pip-packages install-nltk-models install-huggingface install-all-docs install-test +.PHONY: install-local-inference-branch +install-local-inference-branch: + git clone -b feat/chipper-v2 --single-branch https://github.com/Unstructured-IO/unstructured-inference.git && cd unstructured-inference && pip install -e . && cd ../ + .PHONY: install-base-ci install-base-ci: install-base-pip-packages install-nltk-models install-test