mirror of
https://github.com/deepset-ai/haystack.git
synced 2026-01-07 20:46:31 +00:00
ci: make Tika service smoothly run on MacOs (#6619)
This commit is contained in:
parent
506ab81d26
commit
30065eebae
10
.github/workflows/tests.yml
vendored
10
.github/workflows/tests.yml
vendored
@ -227,6 +227,7 @@ jobs:
|
||||
runs-on: macos-latest
|
||||
env:
|
||||
HAYSTACK_MPS_ENABLED: false
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
@ -247,7 +248,14 @@ jobs:
|
||||
key: pip-${{ runner.os }}-${{ github.run_id }}-${{ github.run_attempt }}
|
||||
|
||||
- name: Run Tika
|
||||
run: docker run -d -p 9998:9998 apache/tika:2.9.0.0
|
||||
run: |
|
||||
docker run -d -p 9998:9998 \
|
||||
--health-cmd='curl --fail -X GET http://localhost:9998/tika' \
|
||||
--health-interval=5s \
|
||||
--health-retries=5 \
|
||||
--health-timeout=2s \
|
||||
--health-start-period=1m \
|
||||
apache/tika:2.9.0.0
|
||||
|
||||
- name: Run
|
||||
run: pytest --maxfail=5 -m "integration" test
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user