From 89af511f799ee235d1d35e00fc0557ef98794792 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Sat, 4 Jul 2026 16:24:07 -0700 Subject: [PATCH] Also run "pytest --sqlite-autocommit" for one matrix item in CI To test that our code works correctly with the new autocommit option introduced in Python 3.13+ https://github.com/simonw/sqlite-utils/pull/767#discussion_r3523983636 --- .github/workflows/test.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0f65d6a..7e1e953 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -41,6 +41,9 @@ jobs: - name: Run tests run: | pytest -v + - name: Run autocommit tests just on 3.14/Ubuntu + if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.14' + run: pytest --sqlite-autocommit - name: run mypy run: mypy sqlite_utils tests - name: run flake8