From 9dab256c07cdfbefb681108903b1cb881266c5b3 Mon Sep 17 00:00:00 2001 From: Atharva-Kanherkar Date: Sun, 29 Mar 2026 18:39:26 +0530 Subject: [PATCH] Add GitHub Actions CI to run tests on every PR - Run full pytest suite on pull_request and push to master - Exclude benchmark_memory_system.py (requires live server + Gemini API) - Python 3.13, ubuntu-latest --- .github/workflows/tests.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 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..05b60fa --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,30 @@ +name: Tests + +on: + pull_request: + branches: [master] + push: + branches: [master] + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-python@v5 + with: + python-version: "3.13" + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + pip install pytest anyio pytest-anyio + + - name: Run tests + run: | + python -m pytest tests/ \ + --ignore=tests/benchmark_memory_system.py \ + -q --tb=short