We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86c95e5 commit 809cf5cCopy full SHA for 809cf5c
1 file changed
.github/workflows/integration.yml
@@ -287,6 +287,25 @@ jobs:
287
CLI_RESPONSE: ${{ steps.version.outputs.response }}
288
CLI_TIME: ${{ steps.version.outputs.time }}
289
290
+ - name: "test(cli): run an unknown command"
291
+ id: unknown
292
+ continue-on-error: true
293
+ uses: ./cli
294
+ with:
295
+ command: "off"
296
+
297
+ - name: "test(cli): confirm the unknown command outputs"
298
+ shell: bash
299
+ run: |
300
+ set -ex
301
+ [ "$CLI_OK" = "false" ]
302
+ echo "$CLI_TIME" | grep -qE '^[0-9]+$'
303
+ [ -n "$CLI_RESPONSE" ]
304
+ env:
305
+ CLI_OK: ${{ steps.unknown.outputs.ok }}
306
+ CLI_RESPONSE: ${{ steps.unknown.outputs.response }}
307
+ CLI_TIME: ${{ steps.unknown.outputs.time }}
308
309
- name: "chore: configure the actioneering application"
310
shell: bash
311
run: mv .github/resources/.slack .slack
0 commit comments