Skip to content

Commit e974005

Browse files
authored
Don't fail entire test-pypi deploys on AppInspect failing (#834)
1 parent 0ab03b9 commit e974005

4 files changed

Lines changed: 4 additions & 7 deletions

File tree

‎.github/workflows/appinspect.yml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ jobs:
2121
persist-credentials: false
2222
- uses: ./.github/actions/setup-sdk-environment
2323
with:
24-
python-version: 3.13
2524
deps-group: lint
2625
- name: Run AppInspect
2726
uses: ./.github/actions/run-appinspect

‎.github/workflows/cd.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
workflow_dispatch:
88

99
concurrency:
10-
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
10+
group: ${{ github.workflow }}-${{ github.ref }}
1111
cancel-in-progress: false
1212

1313
permissions: {}
@@ -51,6 +51,7 @@ jobs:
5151
- name: Build packages for distribution
5252
run: uv build
5353
- name: Run AppInspect
54+
if: startsWith(github.ref, 'refs/tags/') == true
5455
uses: ./.github/actions/run-appinspect
5556
- name: Upload distributables
5657
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a

‎.github/workflows/lint.yml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ jobs:
2121
persist-credentials: false
2222
- uses: ./.github/actions/setup-sdk-environment
2323
with:
24-
python-version: ${{ matrix.python-version }}
2524
deps-group: lint
2625
- name: Verify uv.lock is up-to-date
2726
run: uv lock --check

‎.github/workflows/test.yml‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,13 @@ jobs:
1717
runs-on: ubuntu-latest
1818
strategy:
1919
matrix:
20-
python-version: [3.13]
2120
splunk-version: [latest]
2221
steps:
2322
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
2423
with:
2524
persist-credentials: false
2625
- uses: ./.github/actions/setup-sdk-environment
2726
with:
28-
python-version: ${{ matrix.python-version }}
2927
deps-group: test
3028
- name: Download Splunk MCP Server App
3129
continue-on-error: true
@@ -57,8 +55,8 @@ jobs:
5755
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9
5856
with:
5957
path: .pytest_cache
60-
key: pytest-cache-${{ runner.os }}-py${{ matrix.python-version }}-${{ github.ref_name }}-${{ github.sha }}
61-
restore-keys: pytest-cache-${{ runner.os }}-py${{ matrix.python-version }}-${{ github.ref_name }}-
58+
key: pytest-cache-${{ runner.os }}-${{ github.ref_name }}-${{ github.sha }}
59+
restore-keys: pytest-cache-${{ runner.os }}-${{ github.ref_name }}-
6260
- name: Run unit tests
6361
run: make test-unit
6462
- name: Run integration/system tests

0 commit comments

Comments
 (0)