Skip to content

Allow garcefull subscripiton cancellation #407

Allow garcefull subscripiton cancellation

Allow garcefull subscripiton cancellation #407

Workflow file for this run

name: Tests
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- name: py39
python-version: 3.9
- name: py310
python-version: "3.10"
- name: py311
python-version: "3.11"
coverage: true
- name: py312
python-version: "3.12"
- name: py313
python-version: "3.13"
steps:
- uses: actions/checkout@v4
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pip install -r requirements.txt
- name: Run tests
run: hatch run +py=${{ matrix.python-version }} test:cov
- name: Upload coverage reports to Codecov
if: matrix.coverage
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}