From 21e615eaff0aebd25f00cb48724a05d3c70bfc10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20H=C3=B8iby?= Date: Mon, 1 Jun 2026 10:31:26 +0200 Subject: [PATCH] Add CI workflow to run pytest suite Runs the existing pytest suite on a Python 3.11-3.13 matrix (package requires-python is >=3.11, so 3.10 is excluded to keep CI green). Triggers on push and pull_request. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/ci.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 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..7c6131a --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,24 @@ +name: CI + +on: + push: + pull_request: + +jobs: + test: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + python-version: ["3.11", "3.12", "3.13"] + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} + - name: Install package and pytest + run: | + python -m pip install --upgrade pip + python -m pip install . pytest + - name: Run tests + run: pytest