Skip to content

Commit

Permalink
ci: skip Tika tests in macOS integration tests (#6654)
Browse files Browse the repository at this point in the history
* skip tika tests in macos integration tests

* test on this branch

* rm this branch from those to be tested
  • Loading branch information
anakin87 committed Dec 28, 2023
1 parent c773c30 commit 01616d5
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -238,27 +238,15 @@ jobs:
- name: Install dependencies
run: |
brew install ffmpeg # for local Whisper tests
brew install docker
colima start
- name: Restore Python dependencies
uses: actions/cache/restore@v3
with:
path: ${{ env.pythonLocation }}
key: pip-${{ runner.os }}-${{ github.run_id }}-${{ github.run_attempt }}

- name: Run Tika
run: |
docker run -d -p 9998:9998 \
--health-cmd='curl --fail -X GET http:https://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
run: pytest --maxfail=5 -m "integration" test -k 'not tika'

- name: Calculate alert data
id: calculator
Expand Down

0 comments on commit 01616d5

Please sign in to comment.