@devries-cameron20 / composio Mirror · read-only / commits / 50edc779d
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

Mirrored from https://github.com/Camo67/composio.git

Synced Nov 22, 23:15 UTC

add logging

Rahul Tarak committed Jun 26, 2025 at 03:08 UTC 50edc779d38fd4d6fd5ed5103c4e70cbfe0f20e3
1 file changed +34 -21
.github/workflows/test-installation.yml
+34 -21
@@ -167,16 +167,45 @@ jobs:
167 run: |
168 echo "Testing PATH integration with ${{ matrix.shell }}..."
169
170 + # Debug: Check what files exist and their contents
171 + echo "=== DEBUGGING ==="
172 + echo "Checking shell config files:"
173 + ls -la ~/ | grep -E '\.(bash|zsh)' || echo "No shell config files found"
174 +
175 + if [[ -f ~/.bashrc ]]; then
176 + echo "=== ~/.bashrc contents ==="
177 + cat ~/.bashrc
178 + fi
179 +
180 + if [[ -f ~/.zshrc ]]; then
181 + echo "=== ~/.zshrc contents ==="
182 + cat ~/.zshrc
183 + fi
184 +
185 + echo "=== Installation directory ==="
186 + ls -la ~/.composio/bin/ || echo "~/.composio/bin/ not found"
187 +
188 + echo "=== Current PATH before sourcing ==="
189 + echo "$PATH"
190 +
191 # Source the appropriate shell config
192 if [[ "${{ matrix.shell }}" == "zsh" ]]; then
172 - # Test with zsh config
193 if [[ -f ~/.zshrc ]]; then
194 + echo "Sourcing ~/.zshrc..."
195 source ~/.zshrc
196 + echo "PATH after sourcing .zshrc: $PATH"
197 + else
198 + echo "❌ ~/.zshrc not found - install script failed to create it"
199 + exit 1
200 fi
201 else
177 - # Test with bash config
202 if [[ -f ~/.bashrc ]]; then
203 + echo "Sourcing ~/.bashrc..."
204 source ~/.bashrc
205 + echo "PATH after sourcing .bashrc: $PATH"
206 + else
207 + echo "❌ ~/.bashrc not found - install script failed to create it"
208 + exit 1
209 fi
210 fi
211
@@ -184,30 +213,14 @@ jobs:
213 if command -v composio &> /dev/null; then
214 echo "✅ composio found in PATH"
215 which composio
216 + composio --version
217 + composio --help | head -5
218 else
219 echo "❌ composio not found in PATH"
189 - echo "PATH: $PATH"
220 + echo "Final PATH: $PATH"
221 exit 1
222 fi
223
193 - # Test basic commands
194 - composio --version
195 - composio --help | head -5
196 -
197 - # Test if composio is in PATH
198 - if command -v composio &> /dev/null; then
199 - echo "✅ composio found in PATH"
200 - which composio
201 - else
202 - echo "❌ composio not found in PATH"
203 - echo "PATH: $PATH"
204 - exit 1
205 - fi
206 -
207 - # Test basic commands
208 - composio --version
209 - composio --help | head -5
210 -
224 - name: Test shell config updates
225 run: |
226 echo "Checking shell configuration updates..."