From f55796b990256ff35e04c9e82148563dfb3a5559 Mon Sep 17 00:00:00 2001 From: Michael Platzer Date: Mon, 27 Apr 2026 09:05:40 +0200 Subject: [PATCH 1/2] ci: disable automatic GPU tests in main CI Remove the GPU test job from the default push/pull_request workflow so GPU tests no longer run automatically. Made-with: Cursor --- .github/workflows/workflow.yaml | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/.github/workflows/workflow.yaml b/.github/workflows/workflow.yaml index 329243f9..fe5c5d55 100644 --- a/.github/workflows/workflow.yaml +++ b/.github/workflows/workflow.yaml @@ -18,20 +18,6 @@ jobs: (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository) uses: ./.github/workflows/run-tests-cpu.yaml secrets: inherit - run-tests-gpu: - if: | - ( - github.event_name == 'push' || - (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository) - ) && - ( - github.ref == 'refs/heads/main' || - startsWith(github.ref, 'refs/tags/') || - contains(github.event.head_commit.message, '[gpu]') || - contains(github.event.pull_request.title, '[gpu]') - ) - uses: ./.github/workflows/run-tests-gpu.yaml - secrets: inherit build-docker-image: if: | ( @@ -42,6 +28,6 @@ jobs: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') ) - needs: [pre-commit-check, run-tests-cpu, run-tests-gpu] + needs: [pre-commit-check, run-tests-cpu] secrets: inherit uses: ./.github/workflows/build-docker-image.yaml From 121d35f7c93f856b6b59aa78df7b07c692df324b Mon Sep 17 00:00:00 2001 From: Michael Platzer Date: Mon, 27 Apr 2026 09:08:02 +0200 Subject: [PATCH 2/2] ci: run GPU tests only when [gpu] is requested Restore GPU test triggering in CI only for commits or PRs explicitly marked with [gpu]. Made-with: Cursor --- .github/workflows/workflow.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/workflow.yaml b/.github/workflows/workflow.yaml index fe5c5d55..d1c2780a 100644 --- a/.github/workflows/workflow.yaml +++ b/.github/workflows/workflow.yaml @@ -18,6 +18,12 @@ jobs: (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository) uses: ./.github/workflows/run-tests-cpu.yaml secrets: inherit + run-tests-gpu: + if: | + (github.event_name == 'push' && contains(github.event.head_commit.message, '[gpu]')) || + (github.event_name == 'pull_request' && contains(github.event.pull_request.title, '[gpu]')) + uses: ./.github/workflows/run-tests-gpu.yaml + secrets: inherit build-docker-image: if: | (