From dcffba4cb6c39d788207d85560100176d1f29a2d Mon Sep 17 00:00:00 2001 From: erik-wang-lancedb Date: Mon, 1 Dec 2025 17:58:32 -0800 Subject: [PATCH] add pytest CI --- .github/workflows/examples-py-tests.yml | 28 +++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/examples-py-tests.yml diff --git a/.github/workflows/examples-py-tests.yml b/.github/workflows/examples-py-tests.yml new file mode 100644 index 00000000..f407a3d4 --- /dev/null +++ b/.github/workflows/examples-py-tests.yml @@ -0,0 +1,28 @@ +name: Examples Pytests + +on: + pull_request: + workflow_dispatch: + +jobs: + pytest: + name: Run pytest on examples/py + runs-on: ubuntu-latest + timeout-minutes: 5 + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Set up uv + uses: astral-sh/setup-uv@v3 + with: + version: "latest" + python-version: "3.13" + + - name: Install dependencies + run: uv sync --frozen + + - name: Run pytest + run: uv run pytest examples/py +