Skip to content

Commit 43ba2d5

Browse files
committed
Add smoke tests and update README with binary install instructions
1 parent d22c88c commit 43ba2d5

2 files changed

Lines changed: 36 additions & 4 deletions

File tree

.github/workflows/build-binaries.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,18 @@ jobs:
4848
eb_entry.py
4949
shell: bash
5050

51-
- name: Smoke test
52-
run: ./dist/eb-${{ matrix.name }}* --version
51+
- name: Smoke test (Unix)
52+
if: runner.os != 'Windows'
53+
run: |
54+
./dist/eb-${{ matrix.name }} --version
55+
./dist/eb-${{ matrix.name }} --help
56+
shell: bash
57+
58+
- name: Smoke test (Windows)
59+
if: runner.os == 'Windows'
60+
run: |
61+
./dist/eb-${{ matrix.name }}.exe --version
62+
./dist/eb-${{ matrix.name }}.exe --help
5363
shell: bash
5464

5565
- uses: actions/upload-artifact@v4

README.rst

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,32 @@ Installation
2020
============
2121

2222
-------------------------------
23-
If you'd like to use the EB CLI
23+
Quick Install (Recommended)
2424
-------------------------------
2525

26-
The easiest and recommended way to install the EB CLI is to use the EB CLI setup scripts available on a separate GitHub repository.
26+
**Linux / macOS** — single command, no Python required::
27+
28+
curl -sSL https://raw.githubusercontent.com/aws/aws-elastic-beanstalk-cli/master/install.sh | bash
29+
30+
**Windows** — download ``eb-windows-x86_64.exe`` from the `latest release <https://github.com/aws/aws-elastic-beanstalk-cli/releases/latest>`__, rename to ``eb.exe``, and add to your PATH.
31+
32+
**Verify**::
33+
34+
eb --version
35+
36+
-------------------------------
37+
Install via pip (Alternative)
38+
-------------------------------
39+
40+
If you prefer pip::
41+
42+
pip install awsebcli
43+
44+
-------------------------------
45+
If you'd like to use the EB CLI setup scripts
46+
-------------------------------
47+
48+
The EB CLI setup scripts are available on a separate GitHub repository.
2749
Use the scripts to install the EB CLI on Linux, macOS, or Windows. The scripts install the EB CLI and its dependencies, including Python and pip.
2850
The scripts also create a virtual environment for the EB CLI.
2951
For installation instructions, see the `aws/aws-elastic-beanstalk-cli-setup <https://github.com/aws/aws-elastic-beanstalk-cli-setup>`__ repository.

0 commit comments

Comments
 (0)