From 88d938d6d06bfd809b4d7c3ec51ba7602eea989e Mon Sep 17 00:00:00 2001 From: Daniel D'Avella Date: Wed, 8 Nov 2023 14:21:11 -0500 Subject: [PATCH] Add build and test step to github workflow --- .github/workflows/test.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3b98325d..650844a0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,6 +15,23 @@ concurrency: cancel-in-progress: true jobs: + build: + name: Build Package + runs-on: ubuntu-20.04 + timeout-minutes: 5 + steps: + - name: Set Up Python + uses: actions/setup-python@v4 + with: + python-version: '3.12' + - name: Check out code + uses: actions/checkout@v4 + - name: Install build dependencies + run: pip install build twine + - name: Build package + run: python -m build . + - name: Twine Check + run: twine check dist/* test: name: Run pytest runs-on: ubuntu-20.04