From ccab8ad7931549da135cdfa8e656b0cd37a83684 Mon Sep 17 00:00:00 2001 From: Christopher Toth Date: Wed, 5 Aug 2026 22:25:29 -0600 Subject: [PATCH 1/2] Add continuous integration --- .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..355b9c3 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,29 @@ +name: CI + +on: + push: + branches: [master] + pull_request: + +permissions: + contents: read + +jobs: + test: + name: Python ${{ matrix.python-version }} + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + python-version: ["3.11", "3.12", "3.13"] + + steps: + - uses: actions/checkout@v7 + - uses: astral-sh/setup-uv@v9 + with: + python-version: ${{ matrix.python-version }} + enable-cache: true + - run: uv sync --locked --all-groups + - run: uv run pytest + - run: uv run pyright + - run: uv build From 320a72ec9f02f5d9014095150aa604a345dd1a00 Mon Sep 17 00:00:00 2001 From: Christopher Toth Date: Wed, 5 Aug 2026 22:26:58 -0600 Subject: [PATCH 2/2] Pin setup-uv action release --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 355b9c3..e733df3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: steps: - uses: actions/checkout@v7 - - uses: astral-sh/setup-uv@v9 + - uses: astral-sh/setup-uv@v9.0.0 with: python-version: ${{ matrix.python-version }} enable-cache: true