Skip to content

Commit

Permalink
ci: remove ingest tests job from CI workflow
Browse files Browse the repository at this point in the history
These ingests tests have been failing for a while now and were not
required for merge. As we have no immediate intention of fixing these
and their value in this context is doubtful, remove them.
  • Loading branch information
scanny committed Apr 23, 2024
1 parent 4304c83 commit 04b50d1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 77 deletions.
43 changes: 0 additions & 43 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,49 +104,6 @@ jobs:
CI=true make test
make check-coverage
test_ingest:
strategy:
matrix:
python-version: ["3.9","3.10"]
runs-on: ubuntu-latest
env:
NLTK_DATA: ${{ github.workspace }}/nltk_data
needs: lint
steps:
- name: Checkout unstructured repo for integration testing
uses: actions/checkout@v4
with:
repository: 'Unstructured-IO/unstructured'
- name: Checkout this repo
uses: actions/checkout@v4
with:
path: inference
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Test
env:
GH_READ_ONLY_ACCESS_TOKEN: ${{ secrets.GH_READ_ONLY_ACCESS_TOKEN }}
SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }}
DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }}
run: |
python${{ matrix.python-version }} -m venv .venv
source .venv/bin/activate
[ ! -d "$NLTK_DATA" ] && mkdir "$NLTK_DATA"
make install-ci
pip install -e inference/
sudo apt-get update
sudo apt-get install -y libmagic-dev poppler-utils libreoffice pandoc
sudo add-apt-repository -y ppa:alex-p/tesseract-ocr5
sudo apt-get install -y tesseract-ocr
sudo apt-get install -y tesseract-ocr-kor
sudo apt-get install -y diffstat
tesseract --version
make install-all-ingest
# only run ingest tests that check expected output diffs.
bash inference/scripts/test-unstructured-ingest-helper.sh
changelog:
runs-on: ubuntu-latest
steps:
Expand Down
34 changes: 0 additions & 34 deletions scripts/test-unstructured-ingest-helper.sh

This file was deleted.

0 comments on commit 04b50d1

Please sign in to comment.