From 27b7714258e6978cac7dba5561f1a81a071b7d4a Mon Sep 17 00:00:00 2001 From: Ben Mares Date: Thu, 3 Oct 2024 13:22:01 +0200 Subject: [PATCH] Add build-and-inspect-python-package --- .github/workflows/pypi.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index af3ea8b93c..825f3b6e06 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -35,6 +35,18 @@ jobs: name: sdist path: dist/*.tar.gz + run_checks: + name: Build & inspect our package. + # Note: the resulting builds are not actually published. + # This is purely for additional testing and diagnostic purposes. + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - uses: hynek/build-and-inspect-python-package@v2 + build_wheels: name: Build wheels for ${{ matrix.platform }} runs-on: ${{ matrix.platform }}