From 75c6803ba0efc780aa5e9a74481887df5283c95b Mon Sep 17 00:00:00 2001 From: Salomon Popp Date: Wed, 8 Jan 2025 16:09:35 +0100 Subject: [PATCH] Skip Windows jobs on draft PRs because they are slow --- .github/workflows/ci.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 130cb80c9..5cff11096 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -82,10 +82,12 @@ jobs: - ubuntu-22.04 - windows-2022 python-version: ["3.11", "3.12"] - include: - - python-version: "3.11" - os: ubuntu-22.04 - format-for-github: true + pr-update: + - ${{ github.event.action == 'opened' || github.event.action == 'synchronize' }} + exclude: + # skip Windows jobs on draft PRs because they are slow + - os: windows-2022 + pr-update: true runs-on: ${{ matrix.os }} steps: