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:
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
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
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
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