Skip to content

Commit

Permalink
Add macos run using only the trio spawner
Browse files Browse the repository at this point in the history
  • Loading branch information
goodboy committed Oct 26, 2022
1 parent 7cc17b0 commit 4c12c73
Showing 1 changed file with 34 additions and 1 deletion.
35 changes: 34 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,39 @@ jobs:
]

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup python
uses: actions/setup-python@v2
with:
python-version: '${{ matrix.python }}'

- name: Install dependencies
run: pip install -U . -r requirements-test.txt -r requirements-docs.txt --upgrade-strategy eager

- name: List dependencies
run: pip list

- name: Run tests
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.10']
spawn_backend: [
'trio',
]

steps:
- name: Checkout
uses: actions/checkout@v2

Expand All @@ -83,7 +115,8 @@ jobs:
run: pip list

- name: Run tests
run: pytest tests/ --spawn-backend=${{ matrix.spawn_backend }} -rsx --full-trace
run: pytest tests/ --spawn-backend=${{ matrix.spawn_backend }} -rsx


# We skip 3.10 on windows for now due to not having any collabs to
# debug the CI failures. Anyone wanting to hack and solve them is very
Expand Down

0 comments on commit 4c12c73

Please sign in to comment.