File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed
Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Validate SDK with Splunk AppInspect
2+ on : [ pull_request ]
3+
4+ env :
5+ PYTHON_VERSION : 3.13
6+
7+ jobs :
8+ appinspect :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
12+ - uses : ./.github/actions/setup-sdk-environment
13+ with :
14+ python-version : ${{ env.PYTHON_VERSION }}
15+ deps-group : lint
16+ - name : Install splunk-appinspect dependencies
17+ run : sudo apt-get install -y libmagic1
18+ - name : Install splunk-appinspect
19+ run : uv tool install --no-config splunk-appinspect
20+ - name : Copy splunklib to a test app and package it as a mock app
21+ run : |
22+ mkdir -p tests/system/test_apps/generating_app/bin/lib/splunklib
23+ cp -r splunklib/ tests/system/test_apps/generating_app/bin/lib/splunklib
24+ tar -czf mock_app.tgz -C tests/system/test_apps generating_app
25+ - name : Validate mock app with splunk-appinspect
26+ run : splunk-appinspect inspect mock_app.tgz --included-tags cloud
You can’t perform that action at this time.
0 commit comments