Skip to content

Commit

Permalink
change strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
anakin87 committed Jan 9, 2024
1 parent 538bfd6 commit dbc421a
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/ollama.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,8 @@ jobs:
image: ollama/ollama:latest
ports:
- 11434:11434
options: >-
--name ollama
--health-cmd "curl --fail http://localhost:11434 || exit 1"
--health-interval 20s
--health-timeout 3s
--health-retries 10

steps:
- name: Pull the LLM in the Ollama service
run: docker exec ollama ollama pull ${{ env.LLM_FOR_TESTS }}

steps:
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -59,6 +50,9 @@ jobs:
if: matrix.python-version == '3.9'
run: hatch run lint:all

- name: Pull the LLM in the Ollama service
run: docker exec ollama ollama pull ${{ env.LLM_FOR_TESTS }}

- name: Run tests
working-directory: integrations/ollama
run: hatch run cov

0 comments on commit dbc421a

Please sign in to comment.