@@ -6,41 +6,41 @@ concurrency:
66 cancel-in-progress : true
77
88jobs :
9- test-stage :
10- runs-on : ${{ matrix.os }}
9+ test :
1110 strategy :
1211 matrix :
1312 os : [ubuntu-latest]
1413 python-version : [3.13]
1514 splunk-version : [latest]
15+ runs-on : ${{ matrix.os }}
1616 steps :
1717 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
1818 - uses : ./.github/actions/setup-sdk-environment
1919 with :
2020 python-version : ${{ matrix.python-version }}
2121 deps-group : test
2222 - name : Download Splunk MCP Server App
23- run : uv run ./scripts/download_splunk_mcp_server_app.py
2423 env :
2524 SPLUNKBASE_USERNAME : ${{ secrets.SPLUNKBASE_USERNAME }}
2625 SPLUNKBASE_PASSWORD : ${{ secrets.SPLUNKBASE_PASSWORD }}
26+ run : uv run ./scripts/download_splunk_mcp_server_app.py
2727 - name : Launch Splunk Docker instance
2828 run : SPLUNK_VERSION=${{ matrix.splunk-version }} docker compose up -d
2929 - name : Set up .env
3030 run : cp .env.template .env
3131 - name : Write internal AI secrets to .env
32- run : |
33- echo "internal_ai_app_key=$INTERNAL_AI_APP_KEY" >> .env
34- echo "internal_ai_client_id=$INTERNAL_AI_CLIENT_ID" >> .env
35- echo "internal_ai_client_secret=$INTERNAL_AI_CLIENT_SECRET" >> .env
36- echo "internal_ai_token_url=$INTERNAL_AI_TOKEN_URL" >> .env
37- echo "internal_ai_base_url=$INTERNAL_AI_BASE_URL" >> .env
3832 env :
3933 INTERNAL_AI_APP_KEY : ${{ secrets.INTERNAL_AI_APP_KEY }}
4034 INTERNAL_AI_CLIENT_ID : ${{ secrets.INTERNAL_AI_CLIENT_ID }}
4135 INTERNAL_AI_CLIENT_SECRET : ${{ secrets.INTERNAL_AI_CLIENT_SECRET }}
4236 INTERNAL_AI_TOKEN_URL : ${{ secrets.INTERNAL_AI_TOKEN_URL }}
4337 INTERNAL_AI_BASE_URL : ${{ secrets.INTERNAL_AI_BASE_URL }}
38+ run : |
39+ echo "internal_ai_app_key=$INTERNAL_AI_APP_KEY" >> .env
40+ echo "internal_ai_client_id=$INTERNAL_AI_CLIENT_ID" >> .env
41+ echo "internal_ai_client_secret=$INTERNAL_AI_CLIENT_SECRET" >> .env
42+ echo "internal_ai_token_url=$INTERNAL_AI_TOKEN_URL" >> .env
43+ echo "internal_ai_base_url=$INTERNAL_AI_BASE_URL" >> .env
4444 - name : Restore pytest cache
4545 if : ${{ github.ref != 'refs/heads/master' && github.ref != 'refs/heads/develop' }}
4646 uses : actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae
5151 pytest-cache-${{ runner.os }}-py${{ matrix.python-version }}-${{ github.ref_name }}-
5252 - name : Run unit tests
5353 run : make test-unit
54- - name : Run entire test suite
54+ - name : Run integration/system tests
5555 run : make test-integration
0 commit comments