From 762765bf73a184363a9c258d71a5a5eb24284e9b Mon Sep 17 00:00:00 2001 From: Kevin Murphy Date: Wed, 25 Sep 2024 17:16:13 -0700 Subject: [PATCH] ci: Build `pypff-stubs` wheels too --- .github/workflows/build_wheel.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/build_wheel.yml b/.github/workflows/build_wheel.yml index 6a0d9da..d080c8c 100644 --- a/.github/workflows/build_wheel.yml +++ b/.github/workflows/build_wheel.yml @@ -32,6 +32,7 @@ jobs: run: | python -m pip install \ 'build' \ + 'mypy' \ 'setuptools>=65' \ 'wheel' - name: Build libpff-python wheel @@ -39,3 +40,9 @@ jobs: python -m build --no-isolation --outdir=dist --wheel python -m pip install --no-index --find-links=dist libpff-python python tests/runtests.py + - name: Build pypff-stubs wheel + working-directory: stubs + run: | + python -m build --outdir=dist --wheel + python -m pip install --no-index --find-links=dist pypff-stubs + mypy --strict -c 'import pypff; reveal_type(pypff.file)'