Skip to content

Commit

Permalink
Build wheels on PR
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
pganssle committed Jun 14, 2023
1 parent 666d80c commit ec8ab64
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ on:
push:
release:
types: [created]
pull_request:

jobs:
build_sdist:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit ec8ab64

Please sign in to comment.