Skip to content

Commit

Permalink
Temp CI change to sync with unstructured-inference
Browse files Browse the repository at this point in the history
  • Loading branch information
qued committed Oct 4, 2023
1 parent 71071a3 commit b78aecc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit b78aecc

Please sign in to comment.