@devries-cameron20 / composio Mirror · read-only / commits / 5475c6a85
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 21, 17:15 UTC

ci(cli): run install-script unit tests on installer-only pull requests

An installer-only change ran no lint or tests anywhere before landing: Test Installation triggered on tag push, dispatch, and call only, and Build CLI Binaries' push path filter did not cover install.sh or install/. Add install.sh and install/** to that path filter, and trigger Test Installation on pull requests touching the installer, its suites, or the workflow itself. Only the ubuntu-only unit-test job (shellcheck plus the install-sh-*.test.sh suites) runs there; the multi-OS matrix installs an already-published release a pull request cannot produce, so it stays gated off pull requests along with the summary that reports it.

jkomyno committed Aug 5, 2026 at 19:16 UTC 5475c6a85855753ea14be2e701ff8dae0514a2ca
2 files changed +23 -1
.github/workflows/build-cli-binaries.yml
+2
@@ -9,6 +9,8 @@ on:
9 - '.github/actions/setup-node-pnpm-bun/action.yml'
10 - '.github/scripts/cli-release/**'
11 - '.github/workflows/build-cli-binaries.yml'
12 + - 'install.sh'
13 + - 'install/**'
14 - 'mise.toml'
15 - 'mise.lock'
16 workflow_dispatch:
.github/workflows/cli.test-installation.yml
+21 -1
@@ -6,6 +6,17 @@ on:
6 # Temporary compatibility window: support both legacy v* and package-scoped CLI tags.
7 - 'v*'
8 - '@composio/cli@*'
9 + # An installer-only change ships nothing through the TypeScript packages, so
10 + # nothing else would lint or test it before it lands. Only the cheap
11 + # ubuntu-only unit-test job runs here; the multi-OS matrix installs a
12 + # published release and stays on the release path (a push to `next` reaches
13 + # it through Build CLI Binaries, whose path filter covers these files too).
14 + pull_request:
15 + paths:
16 + - 'install.sh'
17 + - 'install/**'
18 + - 'test/install-sh-*.test.sh'
19 + - '.github/workflows/cli.test-installation.yml'
20 workflow_dispatch:
21 inputs:
22 version:
@@ -45,6 +56,9 @@ jobs:
56 test-install-script:
57 name: Test Install Script
58 needs: install-script-unit-tests
59 + # The multi-OS matrix installs an already-published release, which a pull
60 + # request cannot produce. Keep pull requests on the unit-test job only.
61 + if: github.event_name != 'pull_request'
62 runs-on: ${{ matrix.os }}
63 strategy:
64 fail-fast: false
@@ -457,6 +471,9 @@ jobs:
471
472 test-architecture-detection:
473 name: Test Architecture Detection
474 + # The multi-OS matrix installs an already-published release, which a pull
475 + # request cannot produce. Keep pull requests on the unit-test job only.
476 + if: github.event_name != 'pull_request'
477 runs-on: ${{ matrix.os }}
478 strategy:
479 fail-fast: false
@@ -514,6 +531,9 @@ jobs:
531
532 test-prerequisites:
533 name: Test Prerequisites
534 + # The multi-OS matrix installs an already-published release, which a pull
535 + # request cannot produce. Keep pull requests on the unit-test job only.
536 + if: github.event_name != 'pull_request'
537 runs-on: ${{ matrix.os }}
538 strategy:
539 fail-fast: false
@@ -572,7 +592,7 @@ jobs:
592 test-prerequisites,
593 ]
594 runs-on: ubuntu-latest
575 - if: always()
595 + if: always() && github.event_name != 'pull_request'
596
597 steps:
598 - name: Test Results Summary