From b1d003d850ad0f2c56523969570c1746799e3a6e Mon Sep 17 00:00:00 2001 From: goodboy Date: Fri, 13 Mar 2026 16:48:13 -0400 Subject: [PATCH] Add `--tpt-proto` CI matrix and wire to `pytest` - add `tpt_proto: ['tcp', 'uds']` matrix dimension to the `testing` job. - exclude `uds` on `macos-latest` for now. - pass `--tpt-proto=${{ matrix.tpt_proto }}` to the `pytest` invocation. (this commit msg was generated in some part by [`claude-code`][claude-code-gh]) [claude-code-gh]: https://github.com/anthropics/claude-code --- .github/workflows/ci.yml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bdb12e78..eab7cd7f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -75,7 +75,7 @@ jobs: testing: - name: '${{ matrix.os }} Python${{ matrix.python-version }} - spawn_backend=${{ matrix.spawn_backend }}' + name: '${{ matrix.os }} Python${{ matrix.python-version }} spawn_backend=${{ matrix.spawn_backend }} tpt_proto=${{ matrix.tpt_proto }}' timeout-minutes: 16 runs-on: ${{ matrix.os }} @@ -101,6 +101,15 @@ jobs: # 'subinterpreter', # 'subint', ] + tpt_proto: [ + 'tcp', + 'uds', + ] + # https://github.com/orgs/community/discussions/26253#discussioncomment-3250989 + exclude: + # don't do UDS run on macOS (for now) + - os: macos-latest + tpt_proto: 'uds' steps: - uses: actions/checkout@v4 @@ -129,7 +138,11 @@ jobs: run: uv tree - name: Run tests - run: uv run pytest tests/ --spawn-backend=${{ matrix.spawn_backend }} -rsx + run: > + uv run + pytest tests/ -rsx + --spawn-backend=${{ matrix.spawn_backend }} + --tpt-proto=${{ matrix.tpt_proto }} # XXX legacy NOTE XXX #