Skip to content

Commit

Permalink
run container instead of service
Browse files Browse the repository at this point in the history
  • Loading branch information
ZanSara committed Sep 28, 2023
1 parent 689c350 commit a7101e6
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/tests_preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,11 +162,6 @@ jobs:
- ubuntu-latest
- windows-latest
runs-on: ${{ matrix.os }}
services:
tika:
image: apache/tika:2.9.0.0
ports:
- 9998:9998
steps:
- uses: actions/checkout@v3

Expand All @@ -183,6 +178,10 @@ jobs:
- name: Install Haystack
run: pip install .[dev,preview] langdetect transformers[torch,sentencepiece]==4.32.1 'sentence-transformers>=2.2.0' pypdf openai-whisper tika 'azure-ai-formrecognizer>=3.2.0b2'

# Services are unavailable on Windows: must run the container manually
- name: Run Tika
run: docker run -p 9998:9998 apache/tika:1.28.4

- name: Run
run: pytest --maxfail=5 -m "integration" test/preview

Expand Down

0 comments on commit a7101e6

Please sign in to comment.