From 0aff11141e7472a0cdb7b678b01ff9ea4f57693a Mon Sep 17 00:00:00 2001 From: Khang Pham Date: Fri, 26 Sep 2025 08:51:42 -0700 Subject: [PATCH] Add CI workflow to run pytest on pull requests --- .github/workflows/tests.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/tests.yml diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..ee700c8 --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,25 @@ +name: CI + +on: + pull_request: + +jobs: + tests: + runs-on: ubuntu-latest + + steps: + - name: Check out repository + uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: "3.12" + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install . pytest + + - name: Run test suite + run: pytest