Skip to content
This repository was archived by the owner on Dec 20, 2025. It is now read-only.

Commit 5c9b3b4

Browse files
azmavethclaude
andcommitted
fix: exclude local provider tests from CI pipeline
- Add exclusions for :requires_service tag (Ollama, LM Studio) - Add exclusions for :local_only tag (Bumblebee) - Update CI exclusions in both mix.exs and centralized config - Document the :local_only tag in test categories This prevents CI failures when local services (Ollama, LM Studio) are not running and when Bumblebee models are not downloaded, ensuring CI runs only truly portable tests. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent a52e67b commit 5c9b3b4

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

lib/ex_llm/testing/config.ex

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ defmodule ExLLM.Testing.Config do
3535
- `:requires_oauth` - Tests needing OAuth2 authentication
3636
- `:requires_service` - Tests needing local services (Ollama, LM Studio)
3737
- `:requires_resource` - Tests needing specific resources (tuned models, etc.)
38+
- `:local_only` - Tests that can only run with local models (Bumblebee)
3839
"""
3940

4041
@doc """
@@ -123,7 +124,9 @@ defmodule ExLLM.Testing.Config do
123124
requires_api_key: true,
124125
integration: true,
125126
external: true,
126-
live_api: true
127+
live_api: true,
128+
requires_service: true,
129+
local_only: true
127130
]
128131
end
129132

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ defmodule ExLLM.MixProject do
227227

228228
# CI/CD pipeline tests
229229
"test.ci": [
230-
"test --exclude wip --exclude flaky --exclude quota_sensitive --exclude very_slow --exclude requires_api_key --exclude integration --exclude external --exclude live_api"
230+
"test --exclude wip --exclude flaky --exclude quota_sensitive --exclude very_slow --exclude requires_api_key --exclude integration --exclude external --exclude live_api --exclude requires_service --exclude local_only"
231231
],
232232

233233
# === CACHE MANAGEMENT ===

0 commit comments

Comments
 (0)