From 268699eb36774bfa20c975bb261e19907c5826f3 Mon Sep 17 00:00:00 2001 From: William Bergamin Date: Fri, 16 Oct 2026 12:28:20 -0400 Subject: [PATCH 1/2] ci: add python 3.15 to the test matrix and lint on it Python 3.15.0 is out. Co-Authored-By: Claude --- .github/workflows/tests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a0c00bc..2e179e6 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -17,6 +17,7 @@ jobs: - "3.12" - "3.13" - "3.14" + - "3.15" steps: - uses: actions/checkout@v7 - name: Set up Python ${{ matrix.python-version }} From ba23d258efc884c96e9d20e518d596966b36143f Mon Sep 17 00:00:00 2001 From: William Bergamin Date: Fri, 16 Oct 2026 15:30:49 -0400 Subject: [PATCH 2/2] ci: run lint and tests from one workflow Split ruff into its own lint job, run once on 3.15, and rename the workflow to ci.yml (CI) since it covers more than tests. Co-Authored-By: Claude --- .github/workflows/{tests.yml => ci.yml} | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) rename .github/workflows/{tests.yml => ci.yml} (69%) diff --git a/.github/workflows/tests.yml b/.github/workflows/ci.yml similarity index 69% rename from .github/workflows/tests.yml rename to .github/workflows/ci.yml index 2e179e6..e78f948 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -name: Tests +name: CI on: push: @@ -7,6 +7,23 @@ on: pull_request: jobs: + lint: + runs-on: ubuntu-latest + timeout-minutes: 5 + steps: + - uses: actions/checkout@v7 + - name: Set up Python + uses: actions/setup-python@v7 + with: + python-version: "3.15" + - name: Install dependencies + run: | + pip install -U pip + pip install -r requirements.txt + - name: Lint and check formatting + run: | + ruff check . + ruff format --check . test: runs-on: ubuntu-latest timeout-minutes: 5 @@ -28,10 +45,6 @@ jobs: run: | pip install -U pip pip install -r requirements.txt - - name: Lint and check formatting - run: | - ruff check . - ruff format --check . - name: Run all tests run: | pytest . -v