From 6864095f8929910696c51bb29f4e492614abede7 Mon Sep 17 00:00:00 2001 From: Eric Omielan Date: Sat, 17 Aug 2024 20:44:52 -0700 Subject: [PATCH] Add build and test ci --- .github/workflows/ci.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..c3f26dd --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,29 @@ +name: Build and test + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: '3.10' + + - name: Build project + run: make + + - name: Run tests + working-directory: src/test + run: pytest