File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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+ permissions :
11+ id-token : write
12+ environment :
13+ name : splunk-test-pypi
14+ steps :
15+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
16+ - uses : ./.github/actions/setup-sdk-environment
17+ with :
18+ python-version : ${{ env.PYTHON_VERSION }}
19+ deps-group : lint
20+ - name : Install splunk-appinspect dependencies
21+ run : sudo apt-get install -y libmagic1
22+ - name : Install splunk-appinspect
23+ run : uv tool install --no-config splunk-appinspect
24+ - name : Copy splunklib to a test app and package it as a mock app
25+ run : |
26+ cp -r splunklib/ tests/system/test_apps/generating_app/bin/lib/splunklib
27+ tar -czf mock_app.tgz -C tests/system/test_apps generating_app
28+ - name : Validate mock app with splunk-appinspect
29+ run : splunk-appinspect inspect appinspect_target.tgz --included-tags cloud
You can’t perform that action at this time.
0 commit comments