From 2dc1992032e52356b97a6fca9d99ac66ec000c13 Mon Sep 17 00:00:00 2001 From: Vijayan Balasubramanian Date: Fri, 17 Sep 2021 10:52:46 -0700 Subject: [PATCH] Add python build for distribution to CI Add CI to test python build. This is required before publishing to pypi. Signed-off-by: Vijayan Balasubramanian --- .github/workflows/ci.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b7ae6cea..d38f5604 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,6 +19,22 @@ jobs: - name: Lint the code run: nox -s lint + test-build-distribution: + runs-on: ubuntu-latest + steps: + - name: Checkout Repository + uses: actions/checkout@v1 + - name: Set up Python 3.7 + uses: actions/setup-python@v2 + with: + python-version: 3.7 + - name: Install build tools + run: | + python3.7 -m pip install --upgrade build + - name: Build project for distribution + run: | + python3.7 -m build + test-linux: strategy: fail-fast: false