Skip to content

Commit

Permalink
install branch right before test
Browse files Browse the repository at this point in the history
  • Loading branch information
yuming-long committed Oct 4, 2023
1 parent 0725bea commit ef44c8c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
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
1 change: 1 addition & 0 deletions .github/workflows/ingest-test-fixtures-update-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,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
- name: Save branch name to environment file
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ install-base: install-base-pip-packages install-nltk-models
install: install-base-pip-packages install-dev install-nltk-models install-test install-huggingface install-all-docs

.PHONY: install-ci
install-ci: install-base-pip-packages install-nltk-models install-huggingface install-all-docs install-test install-local-inference-branch
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:
Expand Down

0 comments on commit ef44c8c

Please sign in to comment.