From ec8ab6484ae2f3d8eb0dfd2d5dc8f56020af100f Mon Sep 17 00:00:00 2001 From: Paul Ganssle Date: Wed, 14 Jun 2023 09:57:41 -0400 Subject: [PATCH] Build wheels on PR Currently we only build wheels as part of deployment, but for things like testing whether or not new wheel-building configurations work, it makes sense ot also test wheel-building on PR. --- .github/workflows/build-publish.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build-publish.yml b/.github/workflows/build-publish.yml index e245789..376e200 100644 --- a/.github/workflows/build-publish.yml +++ b/.github/workflows/build-publish.yml @@ -15,6 +15,7 @@ on: push: release: types: [created] + pull_request: jobs: build_sdist: @@ -120,6 +121,7 @@ jobs: path: dist deploy: + if: ${{ github.event_name != 'pull_request' }} runs-on: 'ubuntu-22.04' needs: [build_sdist, build_wheel, build_manylinux_wheels] steps: