Add support for task cancellation (#7)

* Add support for task cancellation

* add tests to CI

* matrix for python testing
This commit is contained in:
Jack Gerrits
2024-05-20 13:32:08 -06:00
committed by GitHub
parent f80c42e668
commit 5afbadbe43
13 changed files with 265 additions and 64 deletions

View File

@@ -51,12 +51,15 @@ jobs:
- run: pip install ".[dev]"
- uses: jakebailey/pyright-action@v2
# test:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - uses: actions/setup-python@v5
# with:
# python-version: '3.10'
# - run: pip install ".[dev]"
# - run: pytest
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["pypy3.10", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- run: pip install ".[dev]"
- run: pytest