From 6cf813d0db1ca8696c45beae62c9d2eb844a5b8f Mon Sep 17 00:00:00 2001 From: Andrew DeLay Date: Mon, 11 Mar 2024 09:05:59 +0100 Subject: [PATCH] add build check to PR workflow --- .github/workflows/python-package.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 147349b..222eb76 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -29,6 +29,7 @@ jobs: python -m ensurepip python -m pip install --upgrade pip python -m pip install poetry=="1.6.1" + python -m pip install build --user - name: Install dependencies shell: bash @@ -52,3 +53,6 @@ jobs: - name: Test with pytest run: | python -m poetry run python -m pytest -v test_uai_openlabel + + - name: Make sure a binary wheel and a source tarball can be built + run: python -m build