Skip to content

Commit

Permalink
test: Use direct docker run as services do not support file mounting
Browse files Browse the repository at this point in the history
  • Loading branch information
nqngo committed Mar 9, 2024
1 parent 4e4b789 commit 128815e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/test-and-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,12 @@ jobs:
image: ghcr.io/bifrostlab/llm-assistant/ollama-tinydolphin-preloaded
ports:
- 11434:11434
litellm:
image: ghcr.io/berriai/litellm:main-v1.29.1
ports:
- 4000:4000
volumes:
- ./tests/setup:/config
options: --port 4000 --config /config/config.json
steps:
- uses: actions/checkout@v4

- name: Setup LiteLLM proxy
run: docker run -d -p 4000:4000 -v ./tests/litellm_config.yaml:/app/proxy_server_config.yaml --name litellm ghcr.io/berriai/litellm:main-v1.29.1

- name: Set up Python
uses: ./.github/actions/setup-python

Expand Down
File renamed without changes.

0 comments on commit 128815e

Please sign in to comment.