Skip to content

Commit 33e50ec

Browse files
committed
clean old venvs
1 parent 091b11c commit 33e50ec

File tree

1 file changed

+19
-5
lines changed

1 file changed

+19
-5
lines changed

.github/workflows/ci.yml

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,16 @@ jobs:
5858

5959
- uses: nrwl/nx-set-shas@v4
6060
- run: npm ci
61-
- run: npx nx affected -t install --with dev
61+
62+
- name: Clean up old virtualenvs
63+
run: |
64+
find packages -name ".venv" -type d -exec rm -rf {} + 2>/dev/null || true
65+
6266
- name: Create reports directories
6367
run: |
6468
mkdir -p reports/packages/{opentelemetry-instrumentation-{alephalpha,anthropic,bedrock,chromadb,cohere,crewai,google-generativeai,groq,haystack,lancedb,langchain,llamaindex,marqo,mcp,milvus,mistralai,ollama,openai,openai-agents,pinecone,qdrant,replicate,sagemaker,together,transformers,vertexai,watsonx,weaviate},opentelemetry-semantic-conventions-ai,sample-app,traceloop-sdk}
69+
70+
- run: npx nx affected -t install --with dev
6571
- run: npx nx affected -t lint --parallel=3
6672

6773
build-packages:
@@ -105,13 +111,17 @@ jobs:
105111

106112
- run: npm ci
107113

108-
- name: Install
109-
run: npx nx affected -t install --with dev --parallel=3
114+
- name: Clean up old virtualenvs
115+
run: |
116+
find packages -name ".venv" -type d -exec rm -rf {} + 2>/dev/null || true
110117
111118
- name: Create reports directories
112119
run: |
113120
mkdir -p reports/packages/{opentelemetry-instrumentation-{alephalpha,anthropic,bedrock,chromadb,cohere,crewai,google-generativeai,groq,haystack,lancedb,langchain,llamaindex,marqo,mcp,milvus,mistralai,ollama,openai,openai-agents,pinecone,qdrant,replicate,sagemaker,together,transformers,vertexai,watsonx,weaviate},opentelemetry-semantic-conventions-ai,sample-app,traceloop-sdk}
114121
122+
- name: Install
123+
run: npx nx affected -t install --with dev --parallel=3
124+
115125
- name: Build
116126
run: npx nx affected -t build-release --parallel=3
117127

@@ -162,13 +172,17 @@ jobs:
162172

163173
- run: npm ci
164174

165-
- name: Install
166-
run: npx nx affected -t install --exclude='sample-app' --with dev --parallel=3
175+
- name: Clean up old virtualenvs
176+
run: |
177+
find packages -name ".venv" -type d -exec rm -rf {} + 2>/dev/null || true
167178
168179
- name: Create reports directories
169180
run: |
170181
mkdir -p reports/packages/{opentelemetry-instrumentation-{alephalpha,anthropic,bedrock,chromadb,cohere,crewai,google-generativeai,groq,haystack,lancedb,langchain,llamaindex,marqo,mcp,milvus,mistralai,ollama,openai,openai-agents,pinecone,qdrant,replicate,sagemaker,together,transformers,vertexai,watsonx,weaviate},opentelemetry-semantic-conventions-ai,sample-app,traceloop-sdk}
171182
183+
- name: Install
184+
run: npx nx affected -t install --exclude='sample-app' --with dev --parallel=3
185+
172186
- name: Test
173187
env:
174188
HAYSTACK_TELEMETRY_ENABLED: False

0 commit comments

Comments
 (0)