We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3bce54e commit b26b2beCopy full SHA for b26b2be
1 file changed
.github/actions/run-appinspect/action.yml
@@ -19,4 +19,11 @@ runs:
19
tar -czf mock_app.tgz --exclude="__pycache__" bin default metadata
20
- name: Validate the mock app with AppInspect
21
shell: bash
22
- run: uvx splunk-appinspect inspect ./tests/system/test_apps/generating_app/mock_app.tgz --included-tags cloud --ci
+ run: |
23
+ # AppInspect doesn't follow UNIX conventions so we swallow all non-zero
24
+ # exit codes unless its 101, the de facto error code
25
+ # https://dev.splunk.com/enterprise/reference/appinspect/appinspectcliref#inspect
26
+ uvx splunk-appinspect inspect \
27
+ ./tests/system/test_apps/generating_app/mock_app.tgz \
28
+ --included-tags cloud --ci || exit_code=$?
29
+ [ "${exit_code:-0}" -ne 101 ] || exit 1
0 commit comments