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