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

Remove Ollama from Integration Tests #1376

Merged
merged 3 commits into from
Apr 29, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
fail-fast: false # Continue running other tests if one fails
matrix:
python-version: [ "3.12" ]
test-provider: [ "copilot", "openai", "anthropic", "ollama", "vllm", "llamacpp", "openrouter" ]
test-provider: [ "copilot", "openai", "anthropic", "vllm", "llamacpp", "openrouter" ]
env:
ENV_COPILOT_KEY: ${{ secrets.copilot-key }}
ENV_OPENAI_KEY: ${{ secrets.copilot-key }} # We use the same key for OpenAI as the Copilot tests
Expand Down
9 changes: 7 additions & 2 deletions tests/integration/integration_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,8 +376,13 @@ async def main():
logger.error(f"Invalid providers specified: {', '.join(invalid_providers)}")
logger.error(f"Available providers: {', '.join(available_providers)}")
sys.exit(1)
else:
selected_providers = available_providers
else:
selected_providers = available_providers

# Exclude ollama provider if it's in the list
if "ollama" in selected_providers:
selected_providers.remove("ollama")
logger.info("Excluded 'ollama' provider from tests.")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can leave that there as we might want to run the test locally.

The change in the workflow yml file should be sufficient to skip the ollama tests from running 👍


# Get test names if specified
test_names = None
Expand Down
Loading