Skip to content

Commit deb3c83

Browse files
committed
Add tests for when plugins are already installed
Signed-off-by: Jason Frey <fryguy9@gmail.com>
1 parent 786ade4 commit deb3c83

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/test.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,23 @@ jobs:
151151
ibmcloud plugin list | grep -q '^secrets-manager\b' &&
152152
ibmcloud plugin list | grep -q '^container-registry\b.\+1\.3\.\b'
153153
154+
test-plugins-already-installed:
155+
runs-on: ubuntu-latest
156+
steps:
157+
- uses: actions/checkout@v6
158+
- name: Set up ibmcloud CLI
159+
uses: ./
160+
with:
161+
plugins: container-service
162+
- name: Set up ibmcloud CLI (again)
163+
uses: ./
164+
with:
165+
plugins: container-service secrets-manager
166+
- name: Check plugins are installed
167+
run: |
168+
ibmcloud plugin list | grep -q '^container-service\b' &&
169+
ibmcloud plugin list | grep -q '^secrets-manager\b'
170+
154171
test-login:
155172
runs-on: ubuntu-latest
156173
steps:

0 commit comments

Comments
 (0)