@devries-cameron20 / composio-1 / commits / 7df5c98bc
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.

ci(cli): merge duplicate install verification steps

jkomyno committed Aug 1, 2026 at 17:45 UTC 7df5c98bc3e14e59772335fafcee29ce1c35aad1
1 file changed +9 -35
.github/workflows/cli.test-installation.yml
+9 -35
@@ -156,45 +156,19 @@ jobs:
156 echo "SHELL=$(which bash)" >> $GITHUB_ENV
157 fi
158
159 - - name: Test install script (latest version)
160 - if: steps.release_target.outputs.use_latest == 'true'
161 - shell: bash
162 - run: |
163 - echo "Testing installation with auto-detected latest CLI version..."
164 -
165 - # Test the install script without version (it will auto-detect latest CLI release)
166 - sh install.sh
167 -
168 - # Verify installation
169 - export PATH="$HOME/.local/bin:$PATH"
170 -
171 - # Check the bundle and entry point
172 - if [[ -x "$HOME/.composio/composio" && -L "$HOME/.local/bin/composio" ]]; then
173 - echo "✅ Bundle and entry point installed successfully"
174 - ls -la "$HOME/.composio/composio" "$HOME/.local/bin/composio"
175 - else
176 - echo "❌ Bundle or entry point not found"
177 - exit 1
178 - fi
179 -
180 - # Test binary execution
181 - if "$HOME/.local/bin/composio" --version; then
182 - echo "✅ Binary executes successfully"
183 - else
184 - echo "❌ Binary execution failed"
185 - exit 1
186 - fi
187 -
188 - - name: Test install script (specific version)
189 - if: steps.release_target.outputs.use_latest != 'true'
159 + - name: Test install script
160 shell: bash
161 env:
162 + # Empty exactly when the release target resolved to `use_latest=true`.
163 RELEASE_TAG: ${{ steps.release_target.outputs.release_tag }}
164 run: |
194 - echo "Testing installation with version: ${RELEASE_TAG}"
195 -
196 - # Test the install script with specific version
197 - sh install.sh "${RELEASE_TAG}"
165 + if [[ -n "$RELEASE_TAG" ]]; then
166 + echo "Testing installation with version: ${RELEASE_TAG}"
167 + sh install.sh "${RELEASE_TAG}"
168 + else
169 + echo "Testing installation with auto-detected latest CLI version..."
170 + sh install.sh
171 + fi
172
173 # Verify installation
174 export PATH="$HOME/.local/bin:$PATH"