From 6559368ca56739bbb9682061fb70478599e43fc2 Mon Sep 17 00:00:00 2001 From: christinestraub Date: Thu, 21 Mar 2024 15:55:38 -0700 Subject: [PATCH] chore: update ci to depend on inference branch --- .github/actions/base-cache/action.yml | 1 + Makefile | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/.github/actions/base-cache/action.yml b/.github/actions/base-cache/action.yml index 03004503e9..5a44d05749 100644 --- a/.github/actions/base-cache/action.yml +++ b/.github/actions/base-cache/action.yml @@ -33,6 +33,7 @@ runs: source .venv/bin/activate [ ! -d "$NLTK_DATA" ] && mkdir "$NLTK_DATA" make install-ci + make install-local-inference-branch - name: Save Cache if: steps.virtualenv-cache-restore.outputs.cache-hit != 'true' id: virtualenv-cache-save diff --git a/Makefile b/Makefile index 23396b9fcf..101bb32048 100644 --- a/Makefile +++ b/Makefile @@ -26,6 +26,10 @@ install-ci: install-base-pip-packages install-nltk-models install-huggingface in .PHONY: install-base-ci install-base-ci: install-base-pip-packages install-nltk-models install-test install-pandoc +.PHONY: install-local-inference-branch +install-local-inference-branch: + git clone -b fix/embedded-text-not-getting-merged-with-inferred-elements git@github.com:Unstructured-IO/unstructured-inference.git && cd unstructured-inference && pip install -e . && cd ../ + .PHONY: install-base-pip-packages install-base-pip-packages: python3 -m pip install pip==${PIP_VERSION}