From 0aa2aa315d7ef4fc1338c3749cfd49895b25666d Mon Sep 17 00:00:00 2001 From: Zhongpin Wang Date: Wed, 26 Aug 2026 15:24:50 +0800 Subject: [PATCH 1/2] Skip integration tests completely for all PRs --- .github/workflows/ci.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c4961c2f..3f13b863 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -69,8 +69,7 @@ jobs: name: 'integration tests (base)' runs-on: ubuntu-latest if: | - github.event_name != 'pull_request' || - github.event.pull_request.head.repo.full_name == github.repository + github.event_name != 'pull_request' steps: - uses: SAP/ai-sdk-python/.github/actions/setup@main @@ -102,8 +101,7 @@ jobs: name: 'integration tests (core)' runs-on: ubuntu-latest if: | - github.event_name != 'pull_request' || - github.event.pull_request.head.repo.full_name == github.repository + github.event_name != 'pull_request' steps: - uses: SAP/ai-sdk-python/.github/actions/setup@main @@ -140,8 +138,7 @@ jobs: name: 'integration tests (gen)' runs-on: ubuntu-latest if: | - github.event_name != 'pull_request' || - github.event.pull_request.head.repo.full_name == github.repository + github.event_name != 'pull_request' steps: - uses: SAP/ai-sdk-python/.github/actions/setup@main From ca447b6a97057f6122215c581d653cbcbaab1a8a Mon Sep 17 00:00:00 2001 From: Zhongpin Wang Date: Wed, 26 Aug 2026 16:04:19 +0800 Subject: [PATCH 2/2] Add integration tests back to core and base --- .github/workflows/ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3f13b863..566fc994 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -69,7 +69,8 @@ jobs: name: 'integration tests (base)' runs-on: ubuntu-latest if: | - github.event_name != 'pull_request' + github.event_name != 'pull_request' || + github.event.pull_request.head.repo.full_name == github.repository steps: - uses: SAP/ai-sdk-python/.github/actions/setup@main @@ -101,7 +102,8 @@ jobs: name: 'integration tests (core)' runs-on: ubuntu-latest if: | - github.event_name != 'pull_request' + github.event_name != 'pull_request' || + github.event.pull_request.head.repo.full_name == github.repository steps: - uses: SAP/ai-sdk-python/.github/actions/setup@main