From afefa121ad634919fb5ce580049b983732738f47 Mon Sep 17 00:00:00 2001 From: Chris Rose Date: Sat, 30 Nov 2024 07:46:31 -0800 Subject: [PATCH 1/2] ci: test packaging on PRs, too --- .github/workflows/release.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9f8bcce..eb96234 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,7 +31,6 @@ jobs: - uses: hynek/build-and-inspect-python-package@v2 - # Upload to Test PyPI on every commit on main. publish-test-release: permissions: contents: read @@ -40,7 +39,9 @@ jobs: name: Publish in-dev package to test.pypi.org environment: publish-test-release - if: github.event_name == 'push' && github.ref == 'refs/heads/main' + if: | + (github.event_name == 'push' && github.ref == 'refs/heads/main') || + (github.event_name == 'pull_request') runs-on: ubuntu-latest needs: - pure-python-wheel-and-sdist From 215af382f210a1c9f9b3e75b8c223bd2cf5522d9 Mon Sep 17 00:00:00 2001 From: Chris Rose Date: Sat, 30 Nov 2024 08:15:40 -0800 Subject: [PATCH 2/2] bump for CI