From 83c8a8ad78a0adf574d9f60d2e9ecae76423f9c9 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Wed, 26 Oct 2022 11:54:13 -0400 Subject: [PATCH] Add macos run using only the `trio` spawner --- .github/workflows/ci.yml | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index be5cb272..c4e09f7f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -93,7 +93,6 @@ jobs: steps: - uses: actions/checkout@v4 - - name: 'Install uv + py-${{ matrix.python-version }}' uses: astral-sh/setup-uv@v6 with: @@ -120,6 +119,38 @@ jobs: - name: Run tests run: uv run pytest tests/ --spawn-backend=${{ matrix.spawn_backend }} -rsx + testing-macos: + name: '${{ matrix.os }} Python ${{ matrix.python }} - ${{ matrix.spawn_backend }}' + timeout-minutes: 10 + runs-on: ${{ matrix.os }} + + strategy: + fail-fast: false + matrix: + os: [macos-latest] + python: ['3.13'] + spawn_backend: [ + 'trio', + ] + + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: Setup python + uses: actions/setup-python@v2 + with: + python-version: '${{ matrix.python }}' + + - name: Install the project w uv + run: uv sync --all-extras --dev + + - name: List deps tree + run: uv tree + + - name: Run tests w uv + run: uv run pytest tests/ --spawn-backend=${{ matrix.spawn_backend }} -rsx + # XXX legacy NOTE XXX # # We skip 3.10 on windows for now due to not having any collabs to