From 432b568035ccbb972e5e43e2c1741f924f5fc5b5 Mon Sep 17 00:00:00 2001 From: Jay Shah Date: Tue, 14 Jul 2026 12:34:17 -0400 Subject: [PATCH] Run the test suite in CI CI currently runs only ruff import-sort checks; the 332-test suite never executes on pushes or PRs. This adds a Test workflow that runs pytest with the dev extras. The suite completes in under a second locally. --- .github/workflows/test.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..ef94fc5 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,24 @@ +name: Test + +on: + push: + branches: [main] + pull_request: + +jobs: + pytest: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Install uv + uses: astral-sh/setup-uv@v3 + + - name: Set up Python + run: uv python install 3.12 + + - name: Install dependencies + run: uv sync --extra dev + + - name: Run tests + run: uv run pytest